File: 0002-Move-from-jinja2-to-markupsafe.patch

package info (click to toggle)
cloud-sptheme 1.10.1.post20200504175005-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,224 kB
  • sloc: python: 1,384; javascript: 147; makefile: 7; sh: 6
file content (21 lines) | stat: -rw-r--r-- 730 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Bastian Germann <bage@debian.org>
Date: Thu, 30 Mar 2023 11:22:27 +0200
Subject: Move from jinja2 to markupsafe

---
 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..64a0958 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>.*)\("