mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-28 20:06:29 +01:00
Ensure line break before line
This commit is contained in:
@@ -3808,6 +3808,8 @@ public class HtmlHelper {
|
||||
boolean dashed = "true".equals(element.attr("x-dashed"));
|
||||
float stroke = context.getResources().getDisplayMetrics().density;
|
||||
float dash = (dashed ? line_dash_length : 0f);
|
||||
if (ssb.length() > 0 && ssb.charAt(ssb.length() - 1) != '\n')
|
||||
ssb.append('\n');
|
||||
ssb.append("\uFFFC"); // Object replacement character
|
||||
setSpan(ssb, new LineSpan(colorSeparator, stroke, dash), start, ssb.length());
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user