From e259c9918336788c3c6d312709eb5526ef1879a8 Mon Sep 17 00:00:00 2001 From: Vitaly Puzrin Date: Sun, 26 Oct 2014 05:52:22 +0300 Subject: [PATCH] Fixed error in prev commit --- lib/common/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common/utils.js b/lib/common/utils.js index 51d91f3..58d6d0e 100644 --- a/lib/common/utils.js +++ b/lib/common/utils.js @@ -30,7 +30,7 @@ function assign(obj /*from1, from2, from3, ...*/) { } -var ESCAPE_TEST_RE = /[<>"]/; +var ESCAPE_TEST_RE = /[&<>"]/; function escapeHtml(str) { if (ESCAPE_TEST_RE.test(str)) {