Prevent quoting next line

This commit is contained in:
M66B 2020-05-26 22:15:55 +02:00
parent 9136f61301
commit f2d73c8fd9
1 changed files with 1 additions and 1 deletions

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, ">");