mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-01 09:16:00 +00:00
Ensure line break before line
This commit is contained in:
parent
40cade4342
commit
ee2be885fc
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue