grunt-contrib-htmlmin: htmlmin stalls on error in html
I had this obvious typo in my code:
<table class="contentTable"">
The result was a stall. A proper exception message would have been nice.
About this issue
- Original URL
- State: closed
- Created 11 years ago
- Comments: 20 (4 by maintainers)
Including Mustache braces within an HTML element’s attributes causes the minifier to hang as well.
<input type="checkbox" id="default" name="default" {{#default}}checked{{/default}}>
Obviously this can be reworked to do the conditional check outside of the tag, but this was is a bit more concise.