diff --git a/webserver.py b/webserver.py index 736dce1b..8d0fabb6 100644 --- a/webserver.py +++ b/webserver.py @@ -257,6 +257,11 @@ def page_wiki(key: str): r' ' r'', converted_md) + converted_md = re.sub(r"{https?:\/\/clyp.it\/([a-z0-9]+)}", + r'
', converted_md) return render_template("wikipage.html", key=key, wiki_page=wiki_page, converted_md=Markup(converted_md), wiki_log=wiki_latest_edit, rygconf=config) elif request.method == "POST":