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

CSSO messes with font icons #446

Open
noum opened this issue Dec 13, 2021 · 2 comments
Open

CSSO messes with font icons #446

noum opened this issue Dec 13, 2021 · 2 comments

Comments

@noum
Copy link

noum commented Dec 13, 2021

Before:

.icon-shopping-cart:before {
	content: "\e72f"
}

After CSSO:
.icon-shopping-cart:before{content:""}
Is there a setting I need to activate to prevent this?

@lahmatiy
Copy link
Member

Does it break CSS or are you worried about changes in the string? String are now decoding on parsing, so strings should be equivalent (that's not a string with a whitespace but with invisible char looks like a space).

@noum
Copy link
Author

noum commented Dec 13, 2021

I just assumed it didn't work so sorry for that.
But still I wish one should have the choice to disable that option to change the icon code manually without minifying everything again.
You can close the issue now.

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

No branches or pull requests

2 participants