Quote:
Originally Posted by foosion
BTW, if I wanted to eliminate all <section epub:type="bodymatter chapter"> or the like, how would I set the plugin? I could use regex to add a, for example, id tag, then match the id with the plugin, but that would seem to defeat the purpose.
|
There'd be no need to add an id tag to then match with the plugin. What would be the point of that? You could just match the attribute string of the section tag with the plugin (one attribute and literal value pair, or some regex subset of the attribute value).
You may need to first add "epub:type" as one of the attributes to search on in the plugin's config. But that's a permanent change, not a one-time thing.