Skip to content

Conversation

@thgh
Copy link
Contributor

@thgh thgh commented Jun 22, 2019

Attributes are not properly decoded, see sveltejs/sapper#759
This PR makes it a little better, but is still not perfect. For example &#123abcd; will be interpreted as &#123 while throwing away abcd;. That code is invalid so I wouldn't worry about it.

More info: https://mathiasbynens.be/notes/ambiguous-ampersands

Fix sveltejs/sapper#759

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.

A href encoded incorrectly

2 participants