Add gemini:// to allowed link protocols

This commit is contained in:
Deimos
2020-11-02 14:56:21 -07:00
parent 2d70ef8da8
commit 9d5e2bf5e3

View File

@@ -92,7 +92,7 @@ ALLOWED_HTML_TAGS = (
"tr",
"ul",
)
ALLOWED_LINK_PROTOCOLS = ("http", "https", "mailto")
ALLOWED_LINK_PROTOCOLS = ("gemini", "http", "https", "mailto")
ALLOWED_HTML_ATTRIBUTES_DEFAULT = {
"a": ["href", "title"],