1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-20 14:18:49 +00:00

Remove preamble on replying

This commit is contained in:
M66B 2023-12-01 08:56:25 +01:00
parent 1dedf76261
commit 6898480b17

View file

@ -3701,7 +3701,12 @@ public class MessageHelper {
String preamble = h.contentType.getParameter("preamble");
if (Boolean.parseBoolean(preamble)) {
String text = ((MimeMultipart) h.part.getContent()).getPreamble();
String html = "<h1>Preamble</h1><div x-plain=\"true\">" + HtmlHelper.formatPlainText(text) + "</div>";
String html = "<div class=\"faircode_remove\">" +
"<h1>Preamble</h1>" +
"<div x-plain=\"true\">" +
HtmlHelper.formatPlainText(text) +
"</div>" +
"</div>";
sb.append(html);
continue;
}