mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-23 22:51:02 +00:00
parent
1aa80a9258
commit
e168a4a4f5
1 changed files with 3 additions and 2 deletions
|
@ -3614,8 +3614,9 @@ public class HtmlHelper {
|
||||||
}
|
}
|
||||||
|
|
||||||
for (Element line : doc.select("hr")) {
|
for (Element line : doc.select("hr")) {
|
||||||
String style = line.attr("style");
|
Element next = line.nextElementSibling();
|
||||||
line.attr("style", mergeStyles(style, "display:inline;"));
|
if (next != null && "br".equals(next.tagName()))
|
||||||
|
next.remove();
|
||||||
}
|
}
|
||||||
|
|
||||||
return doc.html();
|
return doc.html();
|
||||||
|
|
Loading…
Reference in a new issue