Fixed Usenet signature separator

pull/178/head
M66B 4 years ago
parent 9b21152db5
commit 4d16fa69bc

@ -1875,7 +1875,7 @@ public class HtmlHelper {
if (block.size() > 0) {
tnode = block.get(block.size() - 1);
text = tnode.getWholeText();
if (endsWithWhitespace(text)) {
if (!"-- ".equals(text) && endsWithWhitespace(text)) {
text = text.substring(0, text.length() - 1);
tnode.text(text);
}

Loading…
Cancel
Save