Commit graph

9 commits

Author SHA1 Message Date
Ethan Dalool
68a555cfd8 Upgrade convert_textdivs_p to allow some children. 2019-12-29 13:07:35 -08:00
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
Ethan Dalool
d89394215b Handle nested footnotes in separate passes.
Otherwise the nested one lands where the parent one already is,
then doesn't get moved to the real destination.
2019-12-29 13:05:28 -08:00
Ethan Dalool
5195b3a560 Split collection and injection of footnotes into two functions. 2019-12-29 13:04:42 -08:00
Ethan Dalool
4c5f416e2c Add helper function contains_class. 2019-12-29 13:03:44 -08:00
Ethan Dalool
45ba419f16 Update. 2019-09-08 21:20:32 -07:00
Ethan Dalool
0bd5315e0a Addd pgepubid\d+ to the calibre delete list. 2019-08-25 12:54:27 -07:00
Ethan Dalool
fd1d0cd51f Don't add space between neighboring tags where there wasn't any. 2019-08-25 12:54:03 -07:00
Ethan Dalool
1c4a73ca01 Add cleanerupper. 2019-08-03 00:24:52 -07:00