mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 22:26:06 +02:00
Generic quote style
This commit is contained in:
@@ -646,7 +646,14 @@ public class EntityRule {
|
||||
div.appendChild(p);
|
||||
|
||||
Document answering = JsoupEx.parse(message.getFile(context));
|
||||
div.appendChild(answering.body().tagName(quote ? "blockquote" : "p"));
|
||||
Element e = answering.body();
|
||||
if (quote) {
|
||||
String style = e.attr("style");
|
||||
style = HtmlHelper.mergeStyles(style, HtmlHelper.QUOTE_STYLE);
|
||||
e.tagName("blockquote").attr("style", style);
|
||||
} else
|
||||
e.tagName("p");
|
||||
div.appendChild(e);
|
||||
|
||||
msg.body().appendChild(div);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user