diff --git a/web/third/bootstrap-typeahead/typeahead.js b/web/third/bootstrap-typeahead/typeahead.js index 5b30d189d0..a9ca349761 100644 --- a/web/third/bootstrap-typeahead/typeahead.js +++ b/web/third/bootstrap-typeahead/typeahead.js @@ -207,7 +207,7 @@ Typeahead.prototype = { set_value() { const val = this.$menu.find(".active").data("typeahead-value"); if (this.$element.is("[contenteditable]")) { - this.$element.html(val); + this.$element.text(val); } else { this.$element.val(val); }