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

Escape whitespace characters in attribute values #117

Closed
bwrrp opened this issue Jan 7, 2020 · 0 comments · Fixed by #119
Closed

Escape whitespace characters in attribute values #117

bwrrp opened this issue Jan 7, 2020 · 0 comments · Fixed by #119

Comments

@bwrrp
Copy link
Owner

bwrrp commented Jan 7, 2020

Tabs, carriage returns and line feeds in attribute values currently do not survive a round-trip through serialization (see w3c/DOM-Parsing#59). It looks like Chrome, Firefox and Edge deviate from the spec and do escape these characters such that they can round-trip cleanly. We should probably do the same.

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 a pull request may close this issue.

1 participant