Commit 9c237b7c authored by Bruno Martin's avatar Bruno Martin
Browse files

fix markdown() call to new version, with named argument

parent 00fef41c
......@@ -10,9 +10,8 @@ register = template.Library()
@register.filter(is_safe=True)
@stringfilter
def timtec_markdown(value):
extensions = ["nl2br", ]
return mark_safe(markdown.markdown(value,
extensions,
extensions=["nl2br", ],
safe_mode=True,
enable_attributes=False))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment