Quote:
Originally Posted by PeterT
ugh.. correct!
Of course, the issue is now that you actually don't want to remove those inner spans for the original requirements; only the Kobo added ones that exist to provide bookmarking support within the ACCESS engine.
|
How is this?
Code:
<span{ kobo-specific info goes here}[^<>]*>((?:(?!<(?:span|/span){ kobo-specific info goes here}).)*)</span>