Ensure new line after block quote

This commit is contained in:
M66B 2020-05-02 07:54:04 +02:00
parent 1d2dc2d541
commit 20b724818a
1 changed files with 2 additions and 0 deletions

View File

@ -1945,6 +1945,8 @@ public class HtmlHelper {
if (start > 0 && ssb.charAt(start - 1) != '\n')
ssb.insert(start++, "\n");
ssb.setSpan(new QuoteSpan(), start, ssb.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
if (ssb.length() > 1 && ssb.charAt(ssb.length() - 1) != '\n')
ssb.append("\n");
break;
case "br":
newline(ssb.length());