mankyd / htmlmin

A configurable HTML Minifier with safety features
https://htmlmin.readthedocs.org/en/latest/
Other
129 stars 40 forks source link

Avoid exception caused by empty html comment. #20

Closed Epsirom closed 9 years ago

Epsirom commented 9 years ago

htmlmin will raise exception when handling <!---->, which follows the HTML syntax. I fixed this bug and added test for it.

mankyd commented 9 years ago

Thanks!