Added configurable text for organizer page (#494)

This commit is contained in:
scabux
2017-05-17 15:53:30 +02:00
committed by Raphael Michel
parent 396c558b25
commit b5a2123d1c
5 changed files with 26 additions and 0 deletions

View File

@@ -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,