diff options
Diffstat (limited to 'app/src/models.py')
-rw-r--r-- | app/src/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/models.py b/app/src/models.py index f407346..21e38b6 100644 --- a/app/src/models.py +++ b/app/src/models.py @@ -60,7 +60,7 @@ class Entry(models.Model): def save(self): md = image_url_replace(self.body_markdown) - self.body_html = markdown.markdown(md, extensions=['markdown.extensions.attr_list','extra'], safe_mode=False) + self.body_html = markdown.markdown(md, extensions=['markdown.extensions.fenced_code', 'markdown.extensions.attr_list','extra'], safe_mode=False) super(Entry, self).save() |