postcss / postcss-simple-vars

PostCSS plugin for Sass-like variables
MIT License
415 stars 36 forks source link

Added replace for single and double quotes. #56

Closed alansouzati closed 8 years ago

alansouzati commented 8 years ago

This PR aims to fix #55.

I'm not sure if this is the right fix for this problem. The idea was to escape single and double quotes from the variable value.

ai commented 8 years ago

Looks like very dangerous :). But thanks that you help me.

I will think about it tomorrow.

alansouzati commented 8 years ago

Agreed. I'm not sure why the quotes are present in the first place 👍

ai commented 8 years ago

I afraid that this behavior could be unexpected. We will need more programming features.

You always could add postcss-unquote with unquote() function. But best way is to rewrite your example in simpler way.