Commit d2cb5c0f d2cb5c0f0d66b42a24c3a8ce9f08930a3777c916 by Shiryaev Andrey

fix

1 parent b0b40100
......@@ -636,9 +636,9 @@ exports.objectValues = objectValues;
function quoteXPathAttributeString(string) {
"use strict";
if (/"/g.test(string)) {
return '\'concat("' + string.toString().replace(/"/g, '", \'"\', "') + '")\'';
return 'concat("' + string.toString().replace(/"/g, '", \'"\', "') + '")';
} else {
return '\'"' + string + '"\'';
return '"' + string + '"';
}
}
exports.quoteXPathAttributeString = quoteXPathAttributeString;
......