Leonidas-from-XIV / node-xml2js

XML to JavaScript object converter.
MIT License
4.84k stars 596 forks source link

Parsing & does not get translated to & #605

Open dicolasi opened 3 years ago

dicolasi commented 3 years ago

Hi all, I wonder if we got a special case where & does not get translated to &. For instance here the resulting string:

Belvoir Lettings & Estate Agents - Leicester

I am using the library (latest version) as specified in your nice documentation.

dicolasi commented 3 years ago

In other words my question is: do I need to add some settings to enable the decoding of XML special chars?

dicolasi commented 3 years ago

Anyone?

vinaykumar612 commented 3 months ago

https://github.com/Leonidas-from-XIV/node-xml2js/issues/704

In my case I'm expecting it shouldn't convert.