Tags in Comments should not be encoded. #8

TimWolla opened this Issue Oct 4, 2013 · 2 comments


None yet

2 participants

TimWolla commented Oct 4, 2013

Expected output: <?xml version="1.0" encoding="UTF-8"?>\n<!--<bug>-->
Actual output: <?xml version="1.0" encoding="UTF-8"?>\n<!--&lt;bug&gt;-->

Code to reproduce:

xml = require('xml-writer');
writer = new xml(true);
writer.startDocument('1.0', 'UTF-8');
// '<?xml version="1.0" encoding="UTF-8"?>\n<!--&lt;bug&gt;-->'
@touv touv added a commit that closed this issue Oct 7, 2013
@touv touv close #8 4d5b129
@touv touv closed this in 4d5b129 Oct 7, 2013
touv commented Oct 7, 2013

I just published a new version (1.4.1)

TimWolla commented Oct 7, 2013

@touv Thanks a lot.

@TimWolla TimWolla referenced this issue in wbbaddons/Tims-PackageServer Oct 7, 2013

Incorrect encoding #5

@chipincode chipincode pushed a commit to chipincode/node-xml-writer that referenced this issue Sep 16, 2014
@touv touv close #8 8588b52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment