1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-24 15:11:03 +00:00

Fixed edit ref

This commit is contained in:
M66B 2019-08-22 13:56:49 +02:00
parent 3db4ac8f97
commit 99f747510a

View file

@ -599,7 +599,7 @@ public class FragmentCompose extends FragmentBase {
String ref = Helper.readText(refFile);
String plain = HtmlHelper.getText(ref);
String html = "<p>" + plain.replaceAll("\\r?\\n", "<br />" + "</p>");
String html = "<p>" + plain.replaceAll("\\r?\\n", "<br />") + "</p>";
try (BufferedWriter out = new BufferedWriter(new FileWriter(file))) {
out.write(body);