Read html_file in one go in book_text.html template. It fixes problems on WebFaction.
[wolnelektury.git] / wolnelektury / templates / catalogue / book_text.html
index 61ca7f3..a957ecf 100644 (file)
@@ -10,6 +10,6 @@
         {% compressed_js "all" %}
     </head>
     <body>
-        {% for chunk in book.html_file.chunks %}{{ chunk|safe }}{% endfor %}
+        {{ book.html_file.read|safe }}
     </body>
 </html>