htmlcompressor
htmlcompressor copied to clipboard
Problems with remove_spaces_inside_tags()
In current version, remove_spaces_inside_tags()
is always called and cannot be disabled by option.
And this compression causes corruption in <input>
value.
<!-- before -->
<input value=" value = 5 ">
<!-- after -->
<input value=" value=5 ">
So. at least either of following improvements is necessary:
- Create option to disable this compression
- Exclude attribute values from this compression
Hi, thanks for reporting this. I just published a new version (0.3.1) with an options to disable this compression as a quick fix... I'll work on a solution for point 2