Skip to content

Treat \n and \r same as other escaped characters #145

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 1 commit into from
May 11, 2017

Conversation

upsuper
Copy link
Contributor

@upsuper upsuper commented May 11, 2017

b'\n' and b'\r' should be serialized to '\a ' and '\d ' respectively, rather than '\A ' and '\D '. Simply let them be treated the same way as other escaped character should be fine.


This change is Reviewable

b'\n' and b'\r' should be serialized to '\\a ' and '\\d ' respectively, rather than '\\A ' and '\\D '. Simply let them be treated the same way as other escaped character should be fine.
@upsuper
Copy link
Contributor Author

upsuper commented May 11, 2017

r? @SimonSapin

@SimonSapin
Copy link
Member

👍

@bors-servo r+

@bors-servo
Copy link
Contributor

📌 Commit 2555d24 has been approved by SimonSapin

@bors-servo
Copy link
Contributor

⌛ Testing commit 2555d24 with merge eeb215f...

bors-servo pushed a commit that referenced this pull request May 11, 2017
Treat \n and \r same as other escaped characters

b'\n' and b'\r' should be serialized to '\\a ' and '\\d ' respectively, rather than '\\A ' and '\\D '. Simply let them be treated the same way as other escaped character should be fine.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-cssparser/145)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

☀️ Test successful - status-travis
Approved by: SimonSapin
Pushing eeb215f to master...

@bors-servo bors-servo merged commit 2555d24 into servo:master May 11, 2017
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.

3 participants