mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-08 01:53:25 +02:00
Normalize html line breaks
This commit is contained in:
@@ -3829,7 +3829,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
||||
int end = body.indexOf(PGP_END_MESSAGE);
|
||||
if (begin >= 0 && begin < end) {
|
||||
String section = body.substring(begin, end + PGP_END_MESSAGE.length());
|
||||
String[] lines = section.split("<br />");
|
||||
String[] lines = section.split("<br>");
|
||||
List<String> disarmored = new ArrayList<>();
|
||||
for (String line : lines)
|
||||
if (!TextUtils.isEmpty(line) && !line.contains(": "))
|
||||
|
||||
Reference in New Issue
Block a user