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

Breaks irregular css content #44

Closed
paynecodes opened this issue Oct 25, 2013 · 4 comments
Closed

Breaks irregular css content #44

paynecodes opened this issue Oct 25, 2013 · 4 comments

Comments

@paynecodes
Copy link

I'm running into a brick wall on this issue.

Before cssmin

body::before{
    content: '{ "current" : "small", "all" : [small], "position" : 0 }';
    display: none
}

After cssmin

body::before{
    content: '{ "current" : "small", "all" : [=small], "position" : 0 }';
    display: none
}

This plugin seems to be converting [small] into [=small] for no apparent reason.

In case your wondering what the heck I'm doing, see here.

Any ideas?

@tkellen
Copy link
Member

tkellen commented Oct 25, 2013

Sorry to punt on you, but you'll want to open this issue over at clean-css, as that is the library this task exposes.

@tkellen tkellen closed this as completed Oct 25, 2013
@GoalSmashers
Copy link

It has just been fixed with clean-css 1.1.6! Thanks @jpdesigndev, @tkellen!

@paynecodes
Copy link
Author

@tkellen Any ideas why I'm not able to get the latest clean-css 1.1.6 with npm update or npm install when running from my app's root directory? npm install does something, at least, where it looks for latest updates for my node-modules. It doesn't look for updates to the dependencies of those modules thought, ie grunt-contrib-cssmin. I see that grunt-contrib-cssmin has a dependency for "clean-css": "~1.1.1" which should allow it to grab 1.1.6, but that's not happening. Perhaps this is more my inexperience with Node.

@paynecodes
Copy link
Author

@tbranyen Got it. I had to remove the modules in my node_modules folder, and reinstall them with npm install. I'm thinking it's because of this https://github.com/isaacs/npm/issues/1341.

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

3 participants