From 78312ce33f2aa740f4a11394c6ef8772f3c33416 Mon Sep 17 00:00:00 2001 From: frntz Date: Wed, 13 Mar 2013 08:40:47 +0100 Subject: [PATCH] Slash doesn't escaped MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Caused problems during uglify minification  --- select2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/select2.js b/select2.js index 92e9e4f2..fd3b8093 100644 --- a/select2.js +++ b/select2.js @@ -2721,7 +2721,7 @@ the specific language governing permissions and limitations under the Apache Lic "/": '/' }; - return String(markup).replace(/[&<>"'/\\]/g, function (match) { + return String(markup).replace(/[&<>"'\/\\]/g, function (match) { return replace_map[match[0]]; }); },