You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The fix for #111 added an end tag for all StartEnd tags, when outputting
HTML5, but there should be some exceptions to this.
Added a new service, isVoidElement(node) for the void elements. Perhaps
this service could be further optimised.
Given the following input file:
Running
./tidy5 -access 1 --vertical-space f -wrap 0 file.html
produces:Tidy shouldn't add closing tags for void elements (note the
</img>
and</br>
), as those aren't legal in HTML5.The text was updated successfully, but these errors were encountered: