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