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

Css minifier breaks on special characters #322

Open
fhrn71 opened this issue Oct 27, 2015 · 1 comment
Open

Css minifier breaks on special characters #322

fhrn71 opened this issue Oct 27, 2015 · 1 comment

Comments

@fhrn71
Copy link

fhrn71 commented Oct 27, 2015

Hi,

I've a issue with the minifier when using special character in the css-content property. In my case I use content: '\A'. This resulting the line breaks up at the place where I used the \A because that's the character code of a line feed. I tried both build-in minifiers. How can I solve this? Any help would be appreciated.
KR,

Frans

@AlexCuse
Copy link
Collaborator

Can you try this package? https://www.nuget.org/packages/SquishIt/1.0.0-alpha2

It uses newer versions of YUI and ajaxmin, I'd be interested to see if they handle your case differently.

From SquishIt's perspective the only thing I can think of is to skip minification on the file that includes content: '\A' (using .AddMinified)

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