ignore code block start in message preview. fixes #3124
This commit is contained in:
parent
5215601150
commit
ba34561235
|
@ -314,6 +314,9 @@ public class UIHelper {
|
|||
SpannableStringBuilder builder = new SpannableStringBuilder();
|
||||
for (CharSequence l : CharSequenceUtils.split(styledBody, '\n')) {
|
||||
if (l.length() > 0) {
|
||||
if (l.toString().equals("```")) {
|
||||
continue;
|
||||
}
|
||||
char first = l.charAt(0);
|
||||
if ((first != '>' || !isPositionFollowedByQuoteableCharacter(l, 0)) && first != '\u00bb') {
|
||||
CharSequence line = CharSequenceUtils.trim(l);
|
||||
|
|
Loading…
Reference in New Issue