pickle-weasle
pickle-weasle
Hey @mikesamuel, yes I'm doing something similar to the example you pasted. Not sure what you mean by _"but without the custom ElementPolicy it does not."_ Surely there'd be no...
Pretty sure this is fixed in the newer releases, cheers Mike!
Can't this be achieved with just `this.policy = this.policy.allowUrlProtocols("tel","data");` In the [readme ](https://github.com/OWASP/java-html-sanitizer)there is the following: > PolicyFactory policy = new HtmlPolicyBuilder() > .allowElements("a") > **.allowUrlProtocols("https")** > .allowAttributes("href").onElements("a") > .requireRelNofollowOnLinks()...