diff --git a/modoboa/static/js/listing.js b/modoboa/static/js/listing.js index e3d6c7b8f..2fc96fbae 100644 --- a/modoboa/static/js/listing.js +++ b/modoboa/static/js/listing.js @@ -255,9 +255,9 @@ Listing.prototype = { make_tag: function(text, type) { var $tag = $("", { "name": type, "class" : "btn btn-default btn-xs", - "html": " " + text + "html": " " + htmlEncode(text) }); - + $("", {"class" : "fa fa-remove"}).prependTo($tag); $tag.click($.proxy(this.remove_tag, this)); return $tag;