We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a58f164 commit 77887b0Copy full SHA for 77887b0
1 file changed
dojo/templatetags/display_tags.py
@@ -91,7 +91,7 @@ def markdown_render(value):
91
"markdown.extensions.fenced_code",
92
"markdown.extensions.toc",
93
"markdown.extensions.tables"])
94
- return mark_safe(bleach.clean(markdown_text, tags=markdown_tags, attributes=markdown_attrs, css_sanitizer=markdown_styles))
+ return mark_safe(bleach.clean(markdown_text, tags=markdown_tags, attributes=markdown_attrs, css_sanitizer=CSSSanitizer(allowed_css_properties=markdown_styles)))
95
return None
96
97
0 commit comments