Closed fb55 closed 11 years ago
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 https://github.com/fb55/node-entities/issues/8 ):
entities
Decoding ''amp;' will first decode the hexadecimal escape, and afterwards the named entity.
''amp;'
Even worse, & will also be decoded twice; you'll end up with &;.
&
&;
Good catch!
Thanks for the great bug report! This is now fixed.
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 https://github.com/fb55/node-entities/issues/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&;
.