From 9fcd1227876d5ab9c99b782d47da254068b86821 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Tue, 29 Dec 2015 06:49:17 -0500 Subject: fixed a bug in books models still using old markdown --- app/books/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/books') 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): -- cgit v1.2.3-70-g09d2