Leonidas-from-XIV / node-xml2js

XML to JavaScript object converter.
MIT License
4.87k stars 601 forks source link

Closing tag required #553

Open Frontrider opened 4 years ago

Frontrider commented 4 years ago

What I can see is that it prints every tag that has no text as <foo/>, but I need it to be <foo></foo> I'm pushing the XML into an HTML document (the source can't be parsed with a dom lib), and that will add the closing tag even if the tag itself is closed.