diff --git a/mustache.js b/mustache.js index e7c22c7..0c219d7 100644 --- a/mustache.js +++ b/mustache.js @@ -246,8 +246,7 @@ var Mustache = function() { s = String(s === null ? "" : s); return s.replace(/&(?!\w+;)|["'<>\\]/g, function(s) { switch(s) { - case "&": return "&"; - case "\\": return "\\\\"; + case "&": return "&"; case '"': return '"'; case "'": return '''; case "<": return "<";