mirror of
https://gitlab.com/tildes/tildes.git
synced 2026-04-16 06:18:34 +02:00
Add gemini:// to allowed link protocols
This commit is contained in:
@@ -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"],
|
||||
|
||||
Reference in New Issue
Block a user