Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"html-minifier" (3.5.20) ignores "--minify-urls" command-line option #957

Merged
merged 1 commit into from
Aug 22, 2018

Conversation

damiendart
Copy link
Contributor

After upgrading HTMLMinifier to 3.5.20, "html-minifier" ignores the --minify-urls command-line option:

$ echo '<a href="https://www.example.com/test/test.html">Test</a>' | node cli.js --minify-urls https://www.example.com/
<a href="https://www.example.com/test/test.html">Test</a>

It looks like the camelCase function incorrectly converts "minifyURLs" to "minifyUrLs", causing the option to be ignored.

Fix a bug where the "--minify-url" command-line option was ignored.
@alexlamsl alexlamsl merged commit 1f8df44 into kangax:gh-pages Aug 22, 2018
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.

None yet

2 participants