Another particular horror - sometimes seen in old mobo books - is nested blockquotes.
I've seen them about 6 layers deep in some free amazon books! & by the time you are at the innermost nest the text has almost been pushed off the screen!
those are a nightmare to remove & what makes it even trickier is that i usually want to keep the outer layer, and then just have a sensible blockquote margin set in CSS.
so if you guys are looking at tools for nested tags, the general challenge is for some code that locates nested tags & then removes all but the outer layer- is that possible ?
the same code would sometimes be helpful for simplifying spans
To be fair though, it's been a while since I saw one of those blockquote horrors. I think they were a way of overcoming mobi format limitations, and are unlikey to be nested so badly if foils work in epub or awz
|