mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-06 00:53:26 +02:00
Prevent extra newlines
This commit is contained in:
@@ -1008,15 +1008,9 @@ public class HtmlHelper {
|
||||
p[0] = null;
|
||||
|
||||
if (p[0] != null)
|
||||
if (p[0] == 0)
|
||||
element.attr("x-line-before", "false");
|
||||
else if (p[0] > 0.5)
|
||||
element.attr("x-line-before", "true");
|
||||
element.attr("x-line-before", Boolean.toString(p[0] > 0.5));
|
||||
if (p[2] != null)
|
||||
if (p[2] == 0)
|
||||
element.attr("x-line-after", "false");
|
||||
else if (p[2] > 0.5)
|
||||
element.attr("x-line-after", "true");
|
||||
element.attr("x-line-after", Boolean.toString(p[2] > 0.5));
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user