File: |
src/voku/helper/HtmlMinInterface.php |
Role: |
Class source |
Content type: |
text/plain |
Description: |
Class source |
Class: |
PHP HTML Minify Class
Compress HTML removing unnecessary data |
Author: |
By Lars Moelleken |
Last change: |
[+]: update vendor + removing more default attributes
- add "doRemoveDefaultTypeFromButton()"
- add "doRemoveDefaultMediaTypeFromStyleAndLinkTag()"
- add "doRemoveDeprecatedTypeFromStyleAndLinkTag()"
- add "overwriteTemplateLogicSyntaxInSpecialScriptTags()"
- use a new version of "voku/simple_html_dom" (4.7.15)
[+]: add "isHTML4" + "isXHTML"
-> fix "remove deprecated script-mime-types"
[+]: change the api of some new functions
- use "localDomains" (string[]) instead of "localDomain" (string)
- use the same strange "do*"-naming as for all other methods :/
[+]: "keep prefix on non-resources + make domain local" v3.1
- remove setLocalDomain method
- method doMakeSameDomainLinksRelative accepts domain directly
- isDoMakeSameDomainLinksRelative set to false on empty $localDomain string
[+]: "keep prefix on non-resources + make domain local" v2.1
-> fix phpstan reported stuff
[+]: "keep prefix on non-resources + make domain local" v2
-> remove the "$_SERVER" usage -> https://github.com/kalessil/phpinspectionsea/issues/302 (security)
-> do not use regex if not needed (performance)
-> add some more test cases
keep prefix on non-resources + make domain local
|
Date: |
3 years ago |
Size: |
2,934 bytes |
|
|
|