Self-closing tag "hr" is creating closing tag when minifying
marcortola opened this issue · 1 comments
marcortola commented
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/>
voku commented
thanks for the bug-report ... fixed in version 3.0.2