From 1199959d80b562b5744780aca8ff484420713c87 Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Sat, 4 Jan 2020 19:19:54 +0100 Subject: [PATCH] markdown: Enable smart_angled_quotes Enable smart_angled_quotes option for the SmartyExtension extension to markdown so that <> becomes «bla». --- mpicms/base/templatetags/md_tags.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mpicms/base/templatetags/md_tags.py b/mpicms/base/templatetags/md_tags.py index 0b513b5..1742044 100644 --- a/mpicms/base/templatetags/md_tags.py +++ b/mpicms/base/templatetags/md_tags.py @@ -22,7 +22,7 @@ def markdown(text): CodeHiliteExtension(), Nl2BrExtension(), SaneListExtension(), - SmartyExtension(), + SmartyExtension(smart_angled_quotes=True), TocExtension(), ] )