Closed XhmikosR closed 2 years ago
See https://github.com/kangax/html-minifier/pull/970. This is a feature, not a bug!
The space is only omitted if the removeTagWhitespace
option is enabled, in which case the minified result isn't guaranteed to be valid HTML anyway (with or withour your patch).
Yeah, I just had a second thought and it's fine, indeed. Should have checked closer, all good!
Fixes #1053
IMHO removing this one space isn't worth it compared to outputting valid HTML.