Allow all link protocols

This commit is contained in:
M66B 2021-03-05 13:48:16 +01:00
parent 5d5ae3a1da
commit e21e3fc8cb
1 changed files with 1 additions and 2 deletions

View File

@ -434,8 +434,7 @@ public class HtmlHelper {
.removeAttributes("th", "colspan", "rowspan", "width")
.addProtocols("img", "src", "cid")
.addProtocols("img", "src", "data")
.removeProtocols("a", "href", "ftp")
.addProtocols("a", "href", "full", "xmpp", "geo", "tel");
.removeTags("a").addAttributes("a", "href", "title");
if (text_color)
whitelist.addAttributes("font", "color");
if (text_size)