forked from CGM_Public/pretix_original
Added configurable text for organizer page (#494)
This commit is contained in:
@@ -47,6 +47,7 @@ def rich_text(text: str, **kwargs):
|
||||
"""
|
||||
Processes markdown and cleans HTML in a text input.
|
||||
"""
|
||||
text = str(text)
|
||||
body_md = bleach.linkify(bleach.clean(
|
||||
markdown.markdown(text),
|
||||
tags=ALLOWED_TAGS,
|
||||
|
||||
Reference in New Issue
Block a user