Skip to content

Conversation

@gwkunze
Copy link

@gwkunze gwkunze commented Jul 3, 2014

In my use case, I want to use the collaspeWhitespace option to reduce the size of my templates but html-minifier 0.5.4 has some problems where it is a bit too greedy with collapsing whitespace. For example:
html <input type='checkbox' /> Foo
is minified to:
html <input type='checkbox'>Foo

Note the missing whitespace in front of Foo, this whitespace is significant with regards to styling and shouldn't be stripped; 0.6+ fixes this problem.

ericclemmons added a commit that referenced this pull request Jul 3, 2014
Update html-minifier dependency to fix some problems
@ericclemmons ericclemmons merged commit bea61dd into ericclemmons:master Jul 3, 2014
@ericclemmons
Copy link
Owner

v0.5.6 is out for you!

@gwkunze
Copy link
Author

gwkunze commented Jul 3, 2014

Great, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants