Generic quote style

This commit is contained in:
M66B
2021-07-07 19:39:09 +02:00
parent 2cb7edcf32
commit 96f0a50cd6
4 changed files with 24 additions and 7 deletions

View File

@@ -4360,7 +4360,12 @@ public class FragmentCompose extends FragmentBase {
boolean quote = (quote_reply &&
("reply".equals(action) || "reply_all".equals(action) || "list".equals(action)));
e.tagName(quote ? "blockquote" : "p");
if (quote) {
String style = e.attr("style");
style = HtmlHelper.mergeStyles(style, HtmlHelper.QUOTE_STYLE);
e.tagName("blockquote").attr("style", style);
} else
e.tagName("p");
reply.appendChild(e);
if (write_below)