Skip to content

Fix ambiguous entities#3071

Merged
Conduitry merged 1 commit intosveltejs:masterfrom
thgh:ambiguous-entity
Jun 23, 2019
Merged

Fix ambiguous entities#3071
Conduitry merged 1 commit intosveltejs:masterfrom
thgh:ambiguous-entity

Conversation

@thgh
Copy link
Copy Markdown
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