Quote:
Originally Posted by ldolse
Several of those functions are logic I've placed in Calibre's preprocess code so I didn't have to find/rewrite the regexes every time I convert a book. The ones that aren't there yet: - Converting ` ' to '' - haven't tried to come up with a safe function to fix that one yet.
- I don't mess with <span> tags too much though unless there isn't any content between them. Empty spans and other empty formatting tags get deleted.
- I don't see a lot of use of divs except in LRF content, haven't done that one yet either.
- Deleting a lot of microsoft junk is still on my to-do, that's partially done though.
|
Interesting, could you share the things you do as "preprocess code" and how? While I use Calibre I haven't yet gone through the huge amount of options to figure out what ones might be most useful to me.