fix: var name

This commit is contained in:
moanos [he/him] 2024-04-14 15:24:36 +02:00
parent 4ee32607b6
commit 9706a627e1
2 changed files with 4 additions and 2 deletions

View File

@ -8,7 +8,7 @@
{% if privacy_statement %}
<h1>{{ privacy_statement.title }}</h1>
{{ privacy.content | render_markdown }}
{{ privacy_statement.content | render_markdown }}
{% endif %}
{% if terms_of_service %}

View File

@ -34,4 +34,6 @@ def get_type(value):
@stringfilter
def render_markdown(value):
md = markdown.Markdown(extensions=["fenced_code"])
return mark_safe(md.convert(value))
html = md.convert(value)
return mark_safe(html)