mirror of https://github.com/M66B/FairEmail.git
Prevent extra newlines
This commit is contained in:
parent
f4fa965469
commit
fdd15c2875
|
@ -1008,15 +1008,9 @@ public class HtmlHelper {
|
||||||
p[0] = null;
|
p[0] = null;
|
||||||
|
|
||||||
if (p[0] != null)
|
if (p[0] != null)
|
||||||
if (p[0] == 0)
|
element.attr("x-line-before", Boolean.toString(p[0] > 0.5));
|
||||||
element.attr("x-line-before", "false");
|
|
||||||
else if (p[0] > 0.5)
|
|
||||||
element.attr("x-line-before", "true");
|
|
||||||
if (p[2] != null)
|
if (p[2] != null)
|
||||||
if (p[2] == 0)
|
element.attr("x-line-after", Boolean.toString(p[2] > 0.5));
|
||||||
element.attr("x-line-after", "false");
|
|
||||||
else if (p[2] > 0.5)
|
|
||||||
element.attr("x-line-after", "true");
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue