You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So for fonts without quotes, this is a problem.
I am aware fonts should have quotes, but when minifying wordpress plugins you don't always have control over what the other developers do.
The text was updated successfully, but these errors were encountered:
peixotorms
changed the title
Replace 'white' and 'black' to '#fff' and '#000' breaks fonts
Replacing 'white' and 'black' to '#fff' and '#000' breaks fonts
Mar 11, 2020
I'll try to change the regex of shortenColorCodesToHex and send a PR for this. It's possible that this issue occurs in other css properties as well, so I guess it's better to restrict the changes to the color and background properties.
Hi,
I don't see the point of #258
but most probably after that, fonts are being rewritten as well.
For example:
Becomes:
So for fonts without quotes, this is a problem.
I am aware fonts should have quotes, but when minifying wordpress plugins you don't always have control over what the other developers do.
The text was updated successfully, but these errors were encountered: