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
1 changed files with 5 additions and 0 deletions

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) {