Skip to content

Commit 78312ce

Browse files
committed
Slash doesn't escaped
Caused problems during uglify minification 
1 parent ae4b24a commit 78312ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

select2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2721,7 +2721,7 @@ the specific language governing permissions and limitations under the Apache Lic
27212721
"/": '/'
27222722
};
27232723

2724-
return String(markup).replace(/[&<>"'/\\]/g, function (match) {
2724+
return String(markup).replace(/[&<>"'\/\\]/g, function (match) {
27252725
return replace_map[match[0]];
27262726
});
27272727
},

0 commit comments

Comments
 (0)