diff --git a/select2.js b/select2.js index ea44e676..c49a5a0e 100644 --- a/select2.js +++ b/select2.js @@ -905,9 +905,9 @@ the specific language governing permissions and limitations under the Apache Lic formatted=opts.formatResult(result, label, query, self.opts.escapeMarkup); if (formatted!==undefined) { label.html(formatted); + node.append(label); } - node.append(label); if (compound) {