Closed TheBosZ closed 5 years ago
It simply inserts value as-is. There is no special treatment for content
property.
Okay, not a problem. I updated my SASS-to-JSON converter to handle it: https://thebosz.bitbucket.io/
Nice, I might use it as well.
When I use "content" styles, the styles have to be surrounded by an extra pair of quotes or it'll get messed up.
An example original CSS:
Code:
Resulting CSS:
Notice that the quotes have been stripped from the content character. If I use a doubly-quoted string
content: '"|"',
it works just fine.I'm not sure that this is a bug or more of a "I have to look out for content rules since they're special" thing.