mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 15:11:03 +00:00
Require line break after signature header
This commit is contained in:
parent
905b7dd733
commit
86259d7286
1 changed files with 3 additions and 1 deletions
|
@ -2239,7 +2239,9 @@ public class FragmentCompose extends FragmentBase {
|
|||
for (Element e : rdoc.select("*"))
|
||||
for (Node node : e.childNodes())
|
||||
if (node instanceof TextNode &&
|
||||
"--".equals(((TextNode) node).text().trim()))
|
||||
"--".equals(((TextNode) node).text().trim()) &&
|
||||
node.nextSibling() != null &&
|
||||
"br".equals(node.nextSibling().nodeName()))
|
||||
signature = node;
|
||||
|
||||
if (signature != null) {
|
||||
|
|
Loading…
Reference in a new issue