|
|
@ -456,6 +456,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")
|
|
|
|
.addProtocols("a", "href", "full", "xmpp", "geo", "tel");
|
|
|
|
.addProtocols("a", "href", "full", "xmpp", "geo", "tel");
|
|
|
|
if (text_color)
|
|
|
|
if (text_color)
|
|
|
|
whitelist.addAttributes("font", "color");
|
|
|
|
whitelist.addAttributes("font", "color");
|
|
|
|