Fixed removing Usenet signature in some cases

This commit is contained in:
M66B
2020-09-29 15:08:09 +02:00
parent f94f250595
commit e5cd9b21c5

View File

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