We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have some javascript files which name include "aspx" string.
For example: codes.aspx.js
html-minifier try to minify them becasure their name include "aspx". Minifier crash from these files.
The text was updated successfully, but these errors were encountered:
This bug is caused by line 32: https://github.com/deanhume/html-minifier/blob/master/ViewMinifier/Program.cs#L32
if (filePath.ToLower().Contains(".cshtml") || filePath.ToLower().Contains(".vbhtml") || filePath.ToLower().Contains(".aspx") || filePath.ToLower().Contains(".html") || filePath.ToLower().Contains(".htm") || filePath.ToLower().Contains(".ascx") || filePath.ToLower().Contains(".master"))
Not sure that should be using Contains maybe EndsWith is a better option
Sorry, something went wrong.
Good spot @heldersepu 👍
This has been fixed and will be released with Release 1.8
deanhume
No branches or pull requests
I have some javascript files which name include "aspx" string.
For example: codes.aspx.js
html-minifier try to minify them becasure their name include "aspx". Minifier crash from these files.
The text was updated successfully, but these errors were encountered: