Browse Source

Add gemini:// to allowed link protocols

merge-requests/126/merge
Deimos 4 years ago
parent
commit
9d5e2bf5e3
  1. 2
      tildes/tildes/lib/markdown.py

2
tildes/tildes/lib/markdown.py

@ -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"],

Loading…
Cancel
Save