Open
Description
Consider the following lines in a document:
<employee > <name><p> Tomás Zubiri </p></name <salary><p> 0$ </p></salary> </employee>
This will trigger the following errors:
Error: is not recognized!
Warning: discarding unexpected
However, if one adds css to the tag like so:
employee { display:none}
Then the block dissappears, showing that the tag was recognized and not discarded.
Tidy supports the addition of custom tags by configuration, but this is not an appropriate fix, since the browser does not require such configuration and liberally accepts all custom tags. #204 #586 #569
My version of tidy is 5.2.0 Apologies if this was already fixed in later versions.
Thank you for reading