mirror of https://github.com/M66B/FairEmail.git
Allow all link protocols
This commit is contained in:
parent
5d5ae3a1da
commit
e21e3fc8cb
|
@ -434,8 +434,7 @@ public class HtmlHelper {
|
||||||
.removeAttributes("th", "colspan", "rowspan", "width")
|
.removeAttributes("th", "colspan", "rowspan", "width")
|
||||||
.addProtocols("img", "src", "cid")
|
.addProtocols("img", "src", "cid")
|
||||||
.addProtocols("img", "src", "data")
|
.addProtocols("img", "src", "data")
|
||||||
.removeProtocols("a", "href", "ftp")
|
.removeTags("a").addAttributes("a", "href", "title");
|
||||||
.addProtocols("a", "href", "full", "xmpp", "geo", "tel");
|
|
||||||
if (text_color)
|
if (text_color)
|
||||||
whitelist.addAttributes("font", "color");
|
whitelist.addAttributes("font", "color");
|
||||||
if (text_size)
|
if (text_size)
|
||||||
|
|
Loading…
Reference in New Issue