We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This issue is a copy of nochso/html-compress-twig#14
Input:
{% htmlcompress %} <style> .foo { --a: 1em; padding: var(--a); color: blue; } </style> {% endhtmlcompress %}
Expected output:
<style>.foo {--a: 1em;padding: var(--a);color: blue;}</style>
Actual output:
<style>.foo {--a: 1em;color: blue;}</style>
The text was updated successfully, but these errors were encountered:
It's because an older version of this package in my project.
I commented out new CssMinCompressor() in constructSmallest() and problem is gone.
new CssMinCompressor()
constructSmallest()
Sorry, something went wrong.
Resolving this upstream: WyriHaximus/php-css-compress#28
Just release 3.0.0 that includes the fix for this. Also opened nochso/html-compress-twig#16 to get this version available in that package.
3.0.0
Successfully merging a pull request may close this issue.
Input:
Expected output:
Actual output:
The text was updated successfully, but these errors were encountered: