HtmlMin
HtmlMin copied to clipboard
:clamp: HtmlMin: HTML Compressor and Minifier via PHP
Google supports scripts tags in Structured Data. In that script tags white spaces are not removed: ``` { "@context": "https://schema.org", "@type": "LocalBusiness", } ``` Is it possible to handle that...
I need to remove all data attribute inside a tag. Could you please add it as an optional ? For example: ``` => ```
#### What is this feature about (expected vs actual behaviour)? HtmlMin should not add a whitespace when ommitting `` This was mentioned in issue #50 (after it was closed) so...
Hello Lars Moelleken, Thank you for sharing this great library, it's very useful ! :) #### What is this feature about (expected vs actual behaviour)? HtmlMin doesn't work properly when...
#### What is this feature about (expected vs actual behaviour)? Running into an error after when minifying `` after updating to PHP 8.3. I expected to get the minified html....
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [phpunit/phpunit](https://phpunit.de/) ([source](https://togithub.com/sebastianbergmann/phpunit)) | `~6.0 \|\| ~7.0 \|\|...
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/cache](https://togithub.com/actions/cache) | action | major | `v3.0.5` -> `v4.0.2` | ---...
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/upload-artifact](https://togithub.com/actions/upload-artifact) | action | major | `v3` -> `v4` | ---...
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [codecov/codecov-action](https://togithub.com/codecov/codecov-action) | action | major | `v2` -> `v4` | ---...
#### What is this feature about (expected vs actual behaviour)? when using $html->minify($htmlstring) and/or with other methods, it keep removing the tag from the string... resulting on a wrong html...