From 83050fd2fa4d31732f293d6e6c88ea7eb30378cc Mon Sep 17 00:00:00 2001 From: Igor Vaynberg Date: Mon, 6 May 2013 09:34:44 -0700 Subject: [PATCH] Problem escaped caracter on IE7. fixes #856 --- select2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/select2.js b/select2.js index 04af1cfa..54c7dd73 100644 --- a/select2.js +++ b/select2.js @@ -2873,7 +2873,7 @@ the specific language governing permissions and limitations under the Apache Lic }; return String(markup).replace(/[&<>"'\/\\]/g, function (match) { - return replace_map[match[0]]; + return replace_map[match]; }); }, blurOnChange: false,