summaryrefslogtreecommitdiff
path: root/app/src/models.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2015-10-30 21:35:34 -0400
committerluxagraf <sng@luxagraf.net>2015-10-30 21:35:34 -0400
commit17481ffe10e7bf54648a4ec6c704b364d6c0cdf8 (patch)
tree29a554149bd4af70841e165e923a779939cea2a7 /app/src/models.py
parentaba4b1269e39741b1776e94e1a81535dae95d878 (diff)
added support for attribute lists markdown extension
Diffstat (limited to 'app/src/models.py')
-rw-r--r--app/src/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/models.py b/app/src/models.py
index e6a6f21..f407346 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=['extra'], safe_mode=False)
+ self.body_html = markdown.markdown(md, extensions=['markdown.extensions.attr_list','extra'], safe_mode=False)
super(Entry, self).save()