Minification - whitelist comments
@lslisa will need to review wording and document new functionality.
I feel like there should be an option in this setting that will allow you to keep all comments. It surprised me to learn that comments are just discarded. If I were using HTML minification on my site, I would absolutely want comments to be preserved. Can we support a wildcard in this setting? Or a simple checkbox for "Keep all" ?
(If necessary @Tymotey, you can reference the UCSS Selector Allowlist setting to see how we implement wildcard support.)
@lslisa for now we should keep the changes just to keep comments that are in the option list
Good job!
thank you
I feel like there should be an option in this setting that will allow you to keep all comments. It surprised me to learn that comments are just discarded. If I were using HTML minification on my site, I would absolutely want comments to be preserved. Can we support a wildcard in this setting? Or a simple checkbox for "Keep all" ?
All this time later, as I am writing the documentation, I am realizing that by "comments" you are talking about HTML comments NOT the comments that people leave on blog posts 🤦🏻♀️
This setting makes so much more sense to me now. Discarding HTML comments makes so much more sense than discarding blog comments. You can disregard my suggestion that we have a "Keep all" checkbox.
@lslisa ok :)