Prechádzať zdrojové kódy

Problem escaped caracter on IE7. fixes #856

Igor Vaynberg 12 rokov pred
rodič
commit
83050fd2fa
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      select2.js

+ 1 - 1
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,