diff --git a/select2.js b/select2.js index 68b16a15..6b741858 100644 --- a/select2.js +++ b/select2.js @@ -2712,7 +2712,7 @@ the specific language governing permissions and limitations under the Apache Lic formatted=this.opts.formatSelection(data, choice.find("div")); if (formatted != undefined) { - choice.find("div").replaceWith("
"+this.opts.escapeMarkup(formatted)+"
"); + choice.find("div").replaceWith("
"+this.opts.escapeMarkup(formatted)+"
"); } cssClass=this.opts.formatSelectionCssClass(data, choice.find("div")); if (cssClass != undefined) {