mirror of https://github.com/M66B/FairEmail.git
Prevent empty blockquotes
This commit is contained in:
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…
Reference in New Issue