Commit b0b40100 b0b401005918dc41debea5c7be1c0334fa763d35 by Shiryaev Andrey

fix

1 parent 0998146d
...@@ -635,10 +635,10 @@ exports.objectValues = objectValues; ...@@ -635,10 +635,10 @@ exports.objectValues = objectValues;
635 */ 635 */
636 function quoteXPathAttributeString(string) { 636 function quoteXPathAttributeString(string) {
637 "use strict"; 637 "use strict";
638 if (/"/g.test(str)) { 638 if (/"/g.test(string)) {
639 return '\'concat("' + str.toString().replace(/"/g, '", \'"\', "') + '")\''; 639 return '\'concat("' + string.toString().replace(/"/g, '", \'"\', "') + '")\'';
640 } else { 640 } else {
641 return '\'"' + str + '"\''; 641 return '\'"' + string + '"\'';
642 } 642 }
643 } 643 }
644 exports.quoteXPathAttributeString = quoteXPathAttributeString; 644 exports.quoteXPathAttributeString = quoteXPathAttributeString;
......