mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-20 11:40:03 +01:00
Prevent flowing Usenet signature
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user