Quote:
But that's not why I was asking. I also have some fairly shoddily-formatted commercial epubs that give me the irrits, which I want to tidy up. Most of what I need to do I've nutted out, but not the quotes.
|
SmartyPants (originally written in Perl and ported to Python). It's what calibre uses. Nothing's going to be perfect for this sort of thing but it does very well. Areas where it fails are fairly easy to clean up afterwards. I run xhtml through it before ever opening in Sigil. It will create them as HTML entities though.