mirror of https://github.com/M66B/FairEmail.git
Fixed edit ref
This commit is contained in:
parent
3db4ac8f97
commit
99f747510a
|
@ -599,7 +599,7 @@ public class FragmentCompose extends FragmentBase {
|
||||||
|
|
||||||
String ref = Helper.readText(refFile);
|
String ref = Helper.readText(refFile);
|
||||||
String plain = HtmlHelper.getText(ref);
|
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))) {
|
try (BufferedWriter out = new BufferedWriter(new FileWriter(file))) {
|
||||||
out.write(body);
|
out.write(body);
|
||||||
|
|
Loading…
Reference in New Issue