1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-26 09:47:13 +00:00

Added blockquote type="cite" support for Thunderbird

This commit is contained in:
M66B 2022-09-12 08:11:31 +02:00
parent 9e3bfe141a
commit 29096165a0

View file

@ -548,6 +548,7 @@ public class HtmlHelper {
.addAttributes("tr", "width")
.addAttributes("tr", "height")
.addAttributes(":all", "title")
.addAttributes("blockquote", "type")
.removeAttributes("td", "colspan", "rowspan", "width")
.removeAttributes("th", "colspan", "rowspan", "width")
.addProtocols("img", "src", "cid")
@ -2551,6 +2552,10 @@ public class HtmlHelper {
if ("true".equals(e.attr("x-border")))
return true;
// https://groups.google.com/g/mozilla.support.thunderbird/c/rwLNk3MU3Gs?pli=1
if ("cite".equals(e.attr("type")))
return true;
String style = e.attr("style");
String[] params = style.split(";");
for (String param : params) {