Prevent crash

This commit is contained in:
M66B 2020-05-25 18:57:59 +02:00
parent 8bb9ef1324
commit f90e0db428
1 changed files with 2 additions and 1 deletions

View File

@ -1588,7 +1588,8 @@ public class HtmlHelper {
else
ssb.insert(i + 1, "> ");
ssb.insert(start, ssb.charAt(start) == '>' ? ">" : "> ");
if (start < ssb.length())
ssb.insert(start, ssb.charAt(start) == '>' ? ">" : "> ");
}
for (BulletSpan span : ssb.getSpans(0, ssb.length(), BulletSpan.class)) {