Closed toddpi314 closed 7 years ago
If it doesn't break anything else then I'm happy to accept a PR fixing the XML.
Relates to #34
@sgtcoolguy @toddpi314 I have just pushed https://github.com/juhovh/mocha-jenkins-reporter/commit/9b232b8d2dffab762bb0e4acf1d3dc98d11ba14e reverting the old changes to master, could you please test it out and I'll make a new release?
Should be fixed now again, did not get any comments.
Issue: if someone console.logs something in the wide unicode space that isn't compatible with XML spec (ex.
\x1b
), thereport.xml
generated will be invalid.Would you accept a PR that will add a validator that maps to XML 1.0 Character Range specification?
Ref: Extensible Markup Language (XML) 1.0 (Fifth Edition)