From 4f503a0a8859d897de6863b0fbb9b3514ed3d632 Mon Sep 17 00:00:00 2001 From: Chris Lawton <chris.lawton@torchbox.com> Date: Mon, 13 May 2019 09:47:12 +0100 Subject: [PATCH] fix tests --- opentech/apply/funds/templatetags/markdown_tags.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/opentech/apply/funds/templatetags/markdown_tags.py b/opentech/apply/funds/templatetags/markdown_tags.py index ac3320885..bddae4d8a 100644 --- a/opentech/apply/funds/templatetags/markdown_tags.py +++ b/opentech/apply/funds/templatetags/markdown_tags.py @@ -7,10 +7,12 @@ register = template.Library() mistune_markdown = mistune.Markdown() + @register.filter def markdown(value): return mistune_markdown(value) + @register.filter def to_markdown(value): # pass through markdown to ensure comment is a -- GitLab