17
0
Files
python-cloud-sptheme/0002-patch-jinja-markup-deprecation.patch

26 lines
815 B
Diff

From d636ed9e2bdbcfaa6aac141b4c36bae3cb1543ef Mon Sep 17 00:00:00 2001
From: Morten Lund <melund@gmail.com>
Date: Mon, 28 Mar 2022 11:05:18 +0200
Subject: [PATCH] fix markup import
---
cloud_sptheme/ext/index_styling.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cloud_sptheme/ext/index_styling.py b/cloud_sptheme/ext/index_styling.py
index 8fd8e6d..68c9239 100644
--- a/cloud_sptheme/ext/index_styling.py
+++ b/cloud_sptheme/ext/index_styling.py
@@ -1,7 +1,7 @@
"""cloud_sptheme.ext.index_styling - improves css styling for genindex"""
import logging; log = logging.getLogger(__name__)
import re
-from jinja2 import Markup as literal, escape
+from markupsafe import Markup as literal, escape
from cloud_sptheme import __version__
prefix = r"^(?P<name>.*)\("
--
2.34.1.windows.1