Fixed breaking usenet signature separator

This commit is contained in:
M66B 2021-08-27 19:59:51 +02:00
parent 4066da03b8
commit 75afa1974f
1 changed files with 1 additions and 1 deletions

View File

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