Prevent empty blockquotes

This commit is contained in:
M66B 2020-09-06 16:47:49 +02:00
parent 1b5970a483
commit ee0c0f9ef1
1 changed files with 2 additions and 0 deletions

View File

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