sigilplugins/cleanerupper
Ethan Dalool 6e2c36bdbb Restrict footnotes to appearing after good elements.
Otherwise you can get blockquotes appearing inside inline
elements which is invalid.
2019-12-29 13:06:51 -08:00
..
bs4 Add cleanerupper. 2019-08-03 00:24:52 -07:00
plugin.py Restrict footnotes to appearing after good elements. 2019-12-29 13:06:51 -08:00
plugin.xml Add cleanerupper. 2019-08-03 00:24:52 -07:00
README.md Add cleanerupper. 2019-08-03 00:24:52 -07:00

The Great Cleaner Upper

This is my plugin for aggressively cleaning the absolute heck out of books. You may enjoy this plugin if your books consist almost entirely of plain text with minimal formatting elements and you don't mind removing most/all CSS.

Because this plugin removes calibre CSS classes, some of which may be used for simulating bold, italic, headers, blockquotes, etc., you should use find-and-replace to turn those elements into real <b>, <i>, <h1>, <blockquote>, etc. tags before running the cleaner.

BeautifulSoup comes from here: https://www.crummy.com/software/BeautifulSoup