The fix with text.replace(new RegExp('&',"gm"), '&'); doesn't not resolve any issue, even creates new bugs, if the metadata contains an unescaped & character then means that metadata is not the properly written.
The PR #242 adds tests with & that ensure it is working right.
Hello,
It's about the conversion from
&
to&
, related to https://github.com/isaacs/sax-js/issues/167 issue.https://github.com/amtrack/force-dev-tool/blob/master/lib/metadata-file-container.js#L211
The fix with
text.replace(new RegExp('&',"gm"), '&');
doesn't not resolve any issue, even creates new bugs, if the metadata contains an unescaped&
character then means that metadata is not the properly written.The PR #242 adds tests with
&
that ensure it is working right.Thanks