mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 21:58:52 +02:00
Composer: fixed extra newlines text align
This commit is contained in:
@@ -4258,6 +4258,9 @@ public class HtmlHelper {
|
||||
switch (key) {
|
||||
case "text-align":
|
||||
sb.append(" display:block;");
|
||||
Element next = span.nextElementSibling();
|
||||
if (next != null && next.tagName().equals("br"))
|
||||
next.remove();
|
||||
// fall through
|
||||
default:
|
||||
sb.append(param).append(';');
|
||||
|
||||
Reference in New Issue
Block a user