Skip to content

Escaped characters should be treated as valid #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 12, 2015

Conversation

geelen
Copy link
Member

@geelen geelen commented Jun 12, 2015

Had a quick look at trying to fix this, but wasn't sure the best way. Basically, .some\.thing {} is valid CSS and matches up with the HTML <div class="some.thing">. Classes can also be started with a number or special character using \ as well, e.g. .\1-2 {}. Added a failing test for each use case.

Thanks!

sokra added a commit that referenced this pull request Jun 12, 2015
Escaped characters should be treated as valid
@sokra sokra merged commit d779e5d into master Jun 12, 2015
@sokra sokra deleted the escaped-chars-in-classes branch June 12, 2015 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants