Parsing error with escaped characters. #97

JimBobSquarePants opened this Issue Jun 30, 2011 · 3 comments

3 participants


Hi there,

I'm getting a lot of parsing errors when escaping special characters in css selectors.

This seems to be conflicting with the rules set here

For example:

/* Code for rating sprites.*/

.rating, .r0\.0
    background: url("img/ratings/rating_sprite.gif") 0 0;

    background-position: 0 -15px;

This will cause an 18 errors even though it appears to be perfectly acceptable within the spec.

Keep up the good work. This stuff is brilliant!


More escape stuff:

This should help to write some tests.


Ew, yeah, that's nasty. I remember punting on that with the parser because it got hairy. Will likely take me a while to fix.

@nzakas nzakas pushed a commit that closed this issue Jul 13, 2011
Nicholas C. Zakas Updated parser to deal with CSS escaping (fixes #97) 93c4ac2
@nzakas nzakas closed this in 93c4ac2 Jul 13, 2011

That was fast. Look forward to testing it on the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment