html-minifier icon indicating copy to clipboard operation
html-minifier copied to clipboard

Javascript-based HTML compressor/minifier (with Node.js support)

Results 113 html-minifier issues
Sort by recently updated
recently updated
newest added

in a PHP file, the closing tag is optional. This works in html-minifier: ```php //begining of file //end of file ``` This gives an error in html-minifier: ```php //begining of...

When I do: ``` ``` it minifies correctly to `` (without a space between the two ``s). However, when I replace the ``s with ``s: ``` ``` it minifies with...

I tried `html-minifier` but it was insanely slow on one of the first test files I fed it. I looked at #546 but that slowdown was on invalid input and...

# Overview Added in a button called `Copy Result` with an ID of `copy-btn` allowing you to copy the result of the minification process. # List of Updates Here is...

Given below config: ```js { minifyCSS: true, ignoreCustomFragments: [ /{{[#^\/]?.*?}}/ ] } ``` results in: ```html ``` (demo: https://replit.com/@lemnis/htmlmin#index.js) --- The issue doesn't exist if the space between `}}` and...

Currently it seems only '.html' files can be minified

Might be a good chance to start moving stuff away from Grunt to npm scripts too.

help wanted

Hey there! I'd like to report a security issue but cannot find contact instructions on your repository. If not a hassle, might you kindly add a `SECURITY.md` file with an...

The css minifier should not strip the units on zeros when they are being used in a css math function. This has been fixed in clean-css 5.x (see https://github.com/clean-css/clean-css/issues/1192). Just...

I'm not very technical, but I have this weird issue where spaces before and after `` is removed. Example, this is what I type: `you can go to example.com or...