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

[Bug]: `<!--#-->` comments are not removed

Open samualtnorman opened this issue 1 year ago • 0 comments

What happened?

removeComments: true removes all comments except those that start with #.

If this is intentional behaviour, it would be neat if we had a flag to override it.

Version

v7.2.0

What browsers are you seeing the problem on?

Firefox, Chrome, Safari

Link to reproduce

https://stackblitz.com/edit/stackblitz-starters-trumlr?file=index.js

Relevant log output

No response

Willing to submit a PR?

No

samualtnorman avatar Jun 13 '23 08:06 samualtnorman