Prevent flowing Usenet signature

This commit is contained in:
M66B 2020-03-21 14:48:53 +01:00
parent 520de28916
commit 6b5c515bfb
1 changed files with 1 additions and 1 deletions

View File

@ -595,7 +595,7 @@ public class MessageHelper {
if (format_flowed) {
List<String> flowed = new ArrayList<>();
for (String line : plainContent.split("\\r?\\n")) {
if (line.contains(" ")) {
if (line.contains(" ") && !"-- ".equals(line)) {
StringBuffer sb = new StringBuffer();
for (String word : line.split(" ")) {
if (sb.length() + word.length() > FORMAT_FLOWED_LINE_LENGTH) {