Remove preamble on replying

pull/214/head
M66B 10 months ago
parent 1dedf76261
commit 6898480b17

@ -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;
}

Loading…
Cancel
Save