diff options
author | Arn0 <yth@ythogtha.org> | 2024-03-14 14:32:02 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-03-16 06:45:21 +0700 |
commit | 038394a525a7b6688ae6dc0ac1273c55c58f9b31 (patch) | |
tree | 1193e7f06823e2d2aa45b1ad7006543615cef68c /python/Kallithea/bleach.patch | |
parent | b080bcf8d7b513f55043520c6c9126ee0a9b7cbd (diff) |
python/Kallithea: Patches for SQLAlchemy 2, and Bleach bug
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/Kallithea/bleach.patch')
-rw-r--r-- | python/Kallithea/bleach.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/python/Kallithea/bleach.patch b/python/Kallithea/bleach.patch new file mode 100644 index 000000000000..4c84c8524b7b --- /dev/null +++ b/python/Kallithea/bleach.patch @@ -0,0 +1,12 @@ +diff -r 7324ff1929d5 kallithea/lib/markup_renderer.py +--- a/kallithea/lib/markup_renderer.py Thu May 27 21:28:32 2021 +0200 ++++ b/kallithea/lib/markup_renderer.py Thu Mar 14 12:25:06 2024 +0100 +@@ -142,7 +142,7 @@ + 'strong', 'sub', 'sup', 'table', 'tbody', 'td', 'th', + 'thead', 'tr', 'ul'], + attributes=['class', 'id', 'style', 'label', 'title', 'alt', 'href', 'src'], +- styles=['color'], ++ css_sanitizer=['color'], + protocols=['http', 'https', 'mailto'], + ) + |