mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 14:46:31 +02:00
Fixed removing newlines
This commit is contained in:
@@ -1104,8 +1104,8 @@ public class HtmlHelper {
|
||||
for (Element p : document.select("p")) {
|
||||
p.tagName("div");
|
||||
|
||||
Element last = p.lastElementChild();
|
||||
if (last != null && "br".equals(last.tagName()))
|
||||
Node last = p.lastChild();
|
||||
if (last != null && "br".equals(last.nodeName()))
|
||||
last.remove();
|
||||
|
||||
if (TextUtils.isEmpty(p.text())) {
|
||||
|
||||
Reference in New Issue
Block a user