Read html_file in one go in book_text.html template. It fixes problems on WebFaction.
authorMarek Stępniowski <marek@stepniowski.com>
Wed, 17 Sep 2008 08:12:03 +0000 (10:12 +0200)
committerMarek Stępniowski <marek@stepniowski.com>
Wed, 17 Sep 2008 08:12:03 +0000 (10:12 +0200)
wolnelektury/templates/catalogue/book_text.html

index 61ca7f3..a957ecf 100644 (file)
@@ -10,6 +10,6 @@
         {% compressed_js "all" %}
     </head>
     <body>
         {% compressed_js "all" %}
     </head>
     <body>
-        {% for chunk in book.html_file.chunks %}{{ chunk|safe }}{% endfor %}
+        {{ book.html_file.read|safe }}
     </body>
 </html>
     </body>
 </html>