mirror of https://github.com/M66B/FairEmail.git
Added blockquote type="cite" support for Thunderbird
This commit is contained in:
parent
9e3bfe141a
commit
29096165a0
|
@ -548,6 +548,7 @@ public class HtmlHelper {
|
||||||
.addAttributes("tr", "width")
|
.addAttributes("tr", "width")
|
||||||
.addAttributes("tr", "height")
|
.addAttributes("tr", "height")
|
||||||
.addAttributes(":all", "title")
|
.addAttributes(":all", "title")
|
||||||
|
.addAttributes("blockquote", "type")
|
||||||
.removeAttributes("td", "colspan", "rowspan", "width")
|
.removeAttributes("td", "colspan", "rowspan", "width")
|
||||||
.removeAttributes("th", "colspan", "rowspan", "width")
|
.removeAttributes("th", "colspan", "rowspan", "width")
|
||||||
.addProtocols("img", "src", "cid")
|
.addProtocols("img", "src", "cid")
|
||||||
|
@ -2551,6 +2552,10 @@ public class HtmlHelper {
|
||||||
if ("true".equals(e.attr("x-border")))
|
if ("true".equals(e.attr("x-border")))
|
||||||
return true;
|
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 style = e.attr("style");
|
||||||
String[] params = style.split(";");
|
String[] params = style.split(";");
|
||||||
for (String param : params) {
|
for (String param : params) {
|
||||||
|
|
Loading…
Reference in New Issue