diff options
author | luxagraf <sng@luxagraf.net> | 2015-12-29 06:49:17 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2015-12-29 06:49:17 -0500 |
commit | 9fcd1227876d5ab9c99b782d47da254068b86821 (patch) | |
tree | 12844757b08e48ae21368eca986d414ed3c48ef9 | |
parent | 82ce53f7b8416be8e5fd964d62aa65239f5e3123 (diff) |
fixed a bug in books models still using old markdown
-rw-r--r-- | app/books/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/books/models.py b/app/books/models.py index d6cd9cf..64d9a3d 100644 --- a/app/books/models.py +++ b/app/books/models.py @@ -77,7 +77,7 @@ class BookHighlight(models.Model): return "%s%s" % (self.book.title, self.id) def body_html(self): - return markdown.markdown(self.body_markdown, extensions=['extra'], safe_mode=False) + return markdown_to_html(self.body_markdown) class BookNote(BookHighlight): |