1
0
Fork 0

allow '{' and '}' in html urls

Dieser Commit ist enthalten in:
Matthew Scragg 2014-09-10 10:53:22 -05:00
Ursprung ec5c840f84
Commit 40292454da
2 geänderte Dateien mit 5 neuen und 0 gelöschten Zeilen

Datei anzeigen

@ -109,6 +109,10 @@ class Wiki():
# Handlebars partial ">"
content = re.sub(r"\{\{>(.*?)\}\}", r'{{>\1}}', content)
# Handlebars, allow {{}} inside HTML links
content = content.replace("%7B", "{")
content = content.replace("%7D", "}")
content = re.sub(r"```(.*?)```", unescape_repl, content, flags=re.DOTALL)
cname = to_canonical(name)