Explorar o código

Merge pull request #1021 from frntz/master

Fix escapeMarkup regexp
Igor Vaynberg %!s(int64=12) %!d(string=hai) anos
pai
achega
759fb439fe
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      select2.js

+ 1 - 1
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]];
             });
         },