diff --git a/select2.js b/select2.js index 13200350..e39c0a65 100644 --- a/select2.js +++ b/select2.js @@ -2494,7 +2494,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)+"
"); } if(enableChoice){