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
This makes the minifier to produce bad HTML markup that does not pass the W3C validation throwing this error: Stray end tag “hr”.
How can I reproduce it?
Try to minify <hr> or <hr/>
The text was updated successfully, but these errors were encountered:
marcortola
changed the title
Self-closing tag "hr" is creating closing tag when minifying HTML
Self-closing tag "hr" is creating closing tag when minifying
Feb 10, 2018
Self-closing tag "hr" is creating closing tag when minifying the HTML code. It seems to happen when executing this function:
HtmlMin/src/voku/helper/HtmlMin.php
Lines 1074 to 1077 in c7ad429
This makes the minifier to produce bad HTML markup that does not pass the W3C validation throwing this error: Stray end tag “hr”.
How can I reproduce it?
Try to minify
<hr> or <hr/>
The text was updated successfully, but these errors were encountered: