Skip to content
New issue

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

colorname in font-family being changed in hex value #48

Open
futtta opened this issue Sep 28, 2018 · 0 comments · May be fixed by #50
Open

colorname in font-family being changed in hex value #48

futtta opened this issue Sep 28, 2018 · 0 comments · May be fixed by #50

Comments

@futtta
Copy link

futtta commented Sep 28, 2018

Hey Tubal;
We just released Autoptimize 2.4 and it comes with the 4.x-version of this great CSS minifier. I have been able to confirm one bug that traces back to YUI-CSS-compressor-PHP-port;

.full-width-content .nectar-recent-posts-slider .recent-post-container .inner-wrap h2{font-family:Archivo Black;text-transform:capitalize;letter-spacing:0;font-size:60px;line-height:74px;font-weight:400;}

after minification becomes:

.full-width-content .nectar-recent-posts-slider .recent-post-container .inner-wrap h2{font-family:Archivo #000;text-transform:capitalize;letter-spacing:0;font-size:60px;line-height:74px;font-weight:400}

so font-family:Archivo Black; becoming font-family:Archivo #000;

This was not the case in AO 2.3.x which still used the 2.x version of your minifier. Could you have a look at what is happening here?

Thanks!
frank

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant