Index: src/string.js |
diff --git a/src/string.js b/src/string.js |
index cf70d40c85b8f165c14216f025ce40da703f4891..d8b37e28a981c8c85bef62f12f2e2881677f4fde 100644 |
--- a/src/string.js |
+++ b/src/string.js |
@@ -846,7 +846,7 @@ function StringFromCharCode(code) { |
// ES6 draft, revision 26 (2014-07-18), section B.2.3.2.1 |
function HtmlEscape(str) { |
- return TO_STRING_INLINE(str).replace(/"/g, """); |
+ return %_CallFunction(TO_STRING_INLINE(str), /"/g, """, StringReplace); |
} |