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

Entities are decoded multiple times #11

Closed
fb55 opened this issue Jul 30, 2013 · 2 comments
Closed

Entities are decoded multiple times #11

fb55 opened this issue Jul 30, 2013 · 2 comments

Comments

@fb55
Copy link

fb55 commented Jul 30, 2013

First of all: Great project, you're taking an interesting approach.

Apparently, you have your own version of a bug I had with my entities module (I'm referring to fb55/entities#8 ):

Decoding ''amp;' will first decode the hexadecimal escape, and afterwards the named entity.

Even worse, & will also be decoded twice; you'll end up with &;.

@mathiasbynens
Copy link
Owner

Good catch!

@mathiasbynens
Copy link
Owner

Thanks for the great bug report! This is now fixed.

mathiasbynens added a commit that referenced this issue May 25, 2014
mathiasbynens added a commit that referenced this issue May 25, 2014
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

No branches or pull requests

2 participants