Require line break after signature header

pull/162/head
M66B 5 years ago
parent 905b7dd733
commit 86259d7286

@ -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…
Cancel
Save