purnimagupta / threepress

Automatically exported from code.google.com/p/threepress
Other
0 stars 0 forks source link

Limit number of CSS files per book to something sane #151

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Someone has uploaded a Calibre-generated book that contains 650 (!!) unique
CSS files.  When this is loaded in Bookworm, it briefly overwhelms the
system (it seems to recover though).

Impose a hard limit of 10 (?) CSS files per book.

Original issue reported on code.google.com by liza31337@gmail.com on 19 Aug 2009 at 2:50

GoogleCodeExporter commented 8 years ago
Fixed and posted.  This is controlled by settings.MAX_CSS_FILES.

Original comment by liza31337@gmail.com on 19 Aug 2009 at 3:25