Prevent empty blockquotes

pull/184/head
M66B 4 years ago
parent 1b5970a483
commit ee0c0f9ef1

@ -2055,6 +2055,8 @@ public class HtmlHelper {
case "blockquote":
if (start == 0 || ssb.charAt(start - 1) != '\n')
ssb.insert(start++, "\n");
if (start == ssb.length())
ssb.append(' ');
if (ssb.length() == 0 || ssb.charAt(ssb.length() - 1) != '\n')
ssb.append("\n");

Loading…
Cancel
Save