Fixed removing Usenet signature in some cases

pull/186/head
M66B 5 years ago
parent f94f250595
commit e5cd9b21c5

@ -3718,6 +3718,11 @@ public class FragmentCompose extends FragmentBase {
remove = true; remove = true;
else { else {
Node next = node.nextSibling(); Node next = node.nextSibling();
if (next == null) {
Node parent = node.parent();
if (parent != null)
next = parent.nextSibling();
}
if (next != null && "br".equals(next.nodeName())) if (next != null && "br".equals(next.nodeName()))
remove = true; remove = true;
} }

Loading…
Cancel
Save