Tidy was never meant for HTML5. Even the HTML5 fork never got it working properly. Right now we have a huge list of exclusion tags to work around serious issues with Tidy. Which isn't Tidy's fault. It was made before things like SVG and the spec it follows it follows properly but epubs need a lot more than what Tidy offers. Hence why it's being replaced with something modern that not only respects html5 but also (hopefully) will respect epub specific tags and tag prefixes.
|