From d79cdb149020a1869fe3b0041b0c68b463bfa44a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorben=20G=C3=BCnther?= Date: Mon, 30 May 2022 12:21:16 +0200 Subject: [PATCH] Import Markup from markupsafe Using jinja2 here is deprecated. --- mansrht/blueprints/html.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mansrht/blueprints/html.py b/mansrht/blueprints/html.py index 0466e93..3921a28 100644 --- a/mansrht/blueprints/html.py +++ b/mansrht/blueprints/html.py @@ -15,7 +15,7 @@ from mansrht.types import User, Wiki, RootWiki from mansrht.wikis import is_root_wiki from prometheus_client import Counter from datetime import timedelta -from jinja2 import Markup +from markupsafe import Markup from urllib.parse import urlparse, urlunparse import json import os