mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-05 16:43:26 +02:00
Prevent empty blockquotes
This commit is contained in:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user