We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following is modified example from the readme:
var example5 = [{ toys: [{ _attr: { decade: '80s', locale: 'US' } }, { toy: [{ _attr: { decade: '80s', locale: 'US' } }, 'Transformers', { toya: [{ _attr: { knowing: 'half the battle' } }, 'GI Joe'] } ] } ] }];
And it produces
<toys decade="80s" locale="US"> <toy decade="80s" locale="US"> Transformers <toya knowing="half the battle">GI Joe</toya> </toy> </toys>
However, if another piece of mixed data is added like this:
var example5 = [{ toys: [{ _attr: { decade: '80s', locale: 'US' } }, { toy: [{ _attr: { decade: '80s', locale: 'US' } }, 'Transformers', { toya: [{ _attr: { knowing: 'half the battle' } }, 'GI Joe'] }, ' and the A-team' ] } ] }];
The sub object is just ignored and the following is outputted:
<toys decade="80s" locale="US"> <toy decade="80s" locale="US">Transformers and the A-team</toy> </toys>
The text was updated successfully, but these errors were encountered:
+1
Sorry, something went wrong.
any update?
I should have a PR soon
Fixing issue dylang#36 and adding test case
c2ce4ce
No branches or pull requests
The following is modified example from the readme:
And it produces
However, if another piece of mixed data is added like this:
The sub object is just ignored and the following is outputted:
The text was updated successfully, but these errors were encountered: