mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 13:47:05 +02:00
Guarantee line break after lines
This commit is contained in:
@@ -3456,6 +3456,12 @@ public class HtmlHelper {
|
||||
}
|
||||
}, document.body());
|
||||
|
||||
for (LineSpan line : ssb.getSpans(0, ssb.length(), LineSpan.class)){
|
||||
int end = ssb.getSpanEnd(line);
|
||||
if (end<ssb.length()&& ssb.charAt(end)!='\n')
|
||||
ssb.insert(end, "\n");
|
||||
}
|
||||
|
||||
if (debug)
|
||||
for (int i = ssb.length() - 1; i >= 0; i--) {
|
||||
char kar = ssb.charAt(i);
|
||||
|
||||
Reference in New Issue
Block a user