threepointone/glamor

content: ' ' generates invalid CSS

rbilgil opened this issue · 4 comments

When writing before and after pseudoelements, it's easy to mistakenly write content: '...' instead ofcontent: '"..."' in the content field. This generates invalid css in the stylesheet (resolving to content: px;). This should ideally raise an error instead of failing silently and doing the wrong thing.

You're right. I did this mistake, too, when I started with glamor.

Ditto, just made the same mistake.

live in 2.20.28