1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-29 11:15:51 +00:00

Prevent quoting next line

This commit is contained in:
M66B 2020-05-26 22:15:55 +02:00
parent 9136f61301
commit f2d73c8fd9

View file

@ -1581,7 +1581,7 @@ public class HtmlHelper {
int start = ssb.getSpanStart(span);
int end = ssb.getSpanEnd(span);
for (int i = end - 1; i >= start; i--)
for (int i = end - 2; i >= start; i--)
if (ssb.charAt(i) == '\n')
if (i + 1 < ssb.length() && ssb.charAt(i + 1) == '>')
ssb.insert(i + 1, ">");