Suppress extra newline at end

pull/184/head
M66B 5 years ago
parent c7b7fee232
commit 9c9ee9c39e

@ -225,7 +225,8 @@ public class HtmlEx {
out.append(isInBulletList ? "</ul>\n" : "</ol>\n"); out.append(isInBulletList ? "</ul>\n" : "</ol>\n");
isInBulletList = null; isInBulletList = null;
} }
out.append("<br>\n"); if (i != text.length())
out.append("<br>\n");
} else { } else {
Boolean isBulletListItem = null; Boolean isBulletListItem = null;
ParagraphStyle[] paragraphStyles = text.getSpans(i, next, ParagraphStyle.class); ParagraphStyle[] paragraphStyles = text.getSpans(i, next, ParagraphStyle.class);

Loading…
Cancel
Save