From: Marek Stępniowski Date: Wed, 17 Sep 2008 08:12:03 +0000 (+0200) Subject: Read html_file in one go in book_text.html template. It fixes problems on WebFaction. X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/933a58adfc8abf2d4c9843afb7fda4cb4d06d030?ds=inline Read html_file in one go in book_text.html template. It fixes problems on WebFaction. --- diff --git a/wolnelektury/templates/catalogue/book_text.html b/wolnelektury/templates/catalogue/book_text.html index 61ca7f3fb..a957ecf7b 100644 --- a/wolnelektury/templates/catalogue/book_text.html +++ b/wolnelektury/templates/catalogue/book_text.html @@ -10,6 +10,6 @@ {% compressed_js "all" %} - {% for chunk in book.html_file.chunks %}{{ chunk|safe }}{% endfor %} + {{ book.html_file.read|safe }}