diff --git a/src/junit_reporter.js b/src/junit_reporter.js index b7069a4..5689665 100644 --- a/src/junit_reporter.js +++ b/src/junit_reporter.js @@ -36,7 +36,7 @@ return str.replace(/[\x1b]/g, ""); } function escapeInvalidXmlChars(str) { - const escaped = str.replace(/\&/g, "&") + var escaped = str.replace(/\&/g, "&") .replace(//g, ">") .replace(/\"/g, """)