sigilplugins/cleanerupper
Ethan Dalool 8026bb55c4 Redesign replace_classes_real_tags to use regex.
I started to get sick of all the center center1 center2 business.
2020-01-05 23:34:14 -08:00
..
bs4 Add cleanerupper. 2019-08-03 00:24:52 -07:00
plugin.py Redesign replace_classes_real_tags to use regex. 2020-01-05 23:34:14 -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