From d8f25f82bd9dc0ad82199747cc5d4e7a7bcd52cb Mon Sep 17 00:00:00 2001 From: Jan Lehnardt Date: Sun, 24 Oct 2010 10:55:57 +0200 Subject: [PATCH] escape " as ". Closes #58 --- mustache.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mustache.js b/mustache.js index cd4fe64..f7b2146 100644 --- a/mustache.js +++ b/mustache.js @@ -248,7 +248,7 @@ var Mustache = function() { switch(s) { case "&": return "&"; case "\\": return "\\\\"; - case '"': return '\"'; + case '"': return '"'; case "<": return "<"; case ">": return ">"; default: return s;