Fixed extra newlines

pull/178/head
M66B 5 years ago
parent 760fee92c5
commit cd10a32d9f

@ -1776,7 +1776,7 @@ public class HtmlHelper {
} }
// Remove whitespace before/after newlines // Remove whitespace before/after newlines
TRIM_WHITESPACE_NL.matcher(text).replaceAll(" "); text = TRIM_WHITESPACE_NL.matcher(text).replaceAll(" ");
if (i == 0 || endsWithWhitespace(block.get(i - 1).text())) if (i == 0 || endsWithWhitespace(block.get(i - 1).text()))
while (startsWithWhiteSpace(text)) while (startsWithWhiteSpace(text))

Loading…
Cancel
Save