Allow all URI schemes in links
@@ -36,7 +36,9 @@ internal class BodyCleaner {
.addAttributes("img", "usemap")
.addAttributes(":all", "class", "style", "id", "dir")
.addProtocols("img", "src", "http", "https", "cid", "data")
- .addProtocols("a", "href", "tel", "sip", "bitcoin", "ethereum", "rtsp")
+
+ // Allow all URI schemes in links
+ .removeProtocols("a", "href", "ftp", "http", "https", "mailto")
cleaner = Cleaner(allowList)
}
