fix: var name
This commit is contained in:
parent
4ee32607b6
commit
9706a627e1
@ -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 %}
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user