소스 검색

Merge pull request #1021 from frntz/master

Fix escapeMarkup regexp
Igor Vaynberg 12 년 전
부모
커밋
759fb439fe
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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]];
             });
         },