wankdanker / node-object-to-xml

Convert any JavaScript object to XML
MIT License
19 stars 8 forks source link

attributes need to be santized also #4

Closed dwightkelly closed 8 years ago

dwightkelly commented 8 years ago

XML attribute values need to be sanitized (escaped) also.

<job id="MMinson&DLazierCinema"/>

should be written as

<job id="MMinson&amp;DLazierCinema"/>
wankdanker commented 8 years ago

Thanks for your contribution, @dwightkelly.