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

Correct the description in the emptyTag option #160

Closed
highsource opened this issue Nov 22, 2014 · 1 comment
Closed

Correct the description in the emptyTag option #160

highsource opened this issue Nov 22, 2014 · 1 comment

Comments

@highsource
Copy link

Currently:

  • emptyTag (default: undefined): what will the value of empty nodes be. Default is {}.

So, undefined or {}?

@Leonidas-from-XIV
Copy link
Owner

The default value for the setting was undefined but an xml2js returned '' (not {} which was incorrect in either case) as value of an empty tag. I've changed the default to be '' too and made the docs clearer.

Thanks for spotting!

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