Space inserted before pseudo-selector
wwight opened this issue · comments
I'm using scss 0.4.2.
calling parser.parse('.foo:hover { color:#fff; }')
returns: '.foo :hover {\n\tcolor: #fff}'
Parsing inserts a space between the .foo
class and the :hover
pseudo-class. Since .foo:hover
and .foo :hover
are logically different in CSS, this seems like a problem with the parser. Google hasn't yielded a good workaround for this problem, though using &:hover
with nesting works in cases where nesting makes sense.
Keep up the good work!
Fixed in version 0.4.4, thanks!
Works great, thanks a lot.