Index: src/string.js |
diff --git a/src/string.js b/src/string.js |
index 5cd1c0cfb71fc2edbe62b91960af7e2708ce0c43..ae65264d4a3ae2c29cc39add829dd45e51ccf0c3 100644 |
--- a/src/string.js |
+++ b/src/string.js |
@@ -829,10 +829,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, "<") |
- .replace(/>/g, ">") |
- .replace(/"/g, """) |
- .replace(/'/g, "'"); |
+ return TO_STRING_INLINE(str).replace(/"/g, """); |
} |