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

" problem when using minifycss: true #472

Closed
stevenvachon opened this issue Jan 26, 2016 · 4 comments
Closed

" problem when using minifycss: true #472

stevenvachon opened this issue Jan 26, 2016 · 4 comments

Comments

@stevenvachon
Copy link
Contributor

Similar to #438

<tag style="font-family: &quot;fontname&quot;; width:100%">

becomes

<tag style="font-family:&quot;width:100%">
@alexlamsl
Copy link
Collaborator

I think the general solution to this and #373 would be to unescape these HTML entity characters before feeding them to minify{css,js}?

@stevenvachon
Copy link
Contributor Author

Perhaps postcss's powerful parser can handle it, and accurately. If so, we could switch from cleancss to cssnano.

@gheoan
Copy link

gheoan commented Jan 31, 2016

+1 for cssnano

@kangax
Copy link
Owner

kangax commented Jan 31, 2016

I love PostCSS too (had great success with it) so I'm all for it.

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

4 participants