Skip to content
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

new lines should be treated as spaces #8

Closed
stoyan opened this issue Nov 28, 2013 · 2 comments
Closed

new lines should be treated as spaces #8

stoyan opened this issue Nov 28, 2013 · 2 comments
Labels

Comments

@stoyan
Copy link

stoyan commented Nov 28, 2013

body
div
{color: red}

gives

{ type: 'rule',
  selectors: [ 'bodydiv' ],
  declarations: [ { type: 'property', name: 'color', value: 'red' } ] }

I think the selector should be body div

@brettstimmerman
Copy link
Owner

Does it make sense to convert \n => <space> in selectors, or just leave any \n as is since they are not necessarily invalid characters?

@stoyan
Copy link
Author

stoyan commented Dec 1, 2013

Makes sense, you're right.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants