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:
parent
9e3bfe141a
commit
29096165a0
1 changed files with 5 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue