mirror of https://github.com/M66B/FairEmail.git
Fixed removing Usenet signature in some cases
This commit is contained in:
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…
Reference in New Issue