We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b0c4528 + 05b4a4f commit aa74e9aCopy full SHA for aa74e9a
modoboa/static/js/listing.js
@@ -255,9 +255,9 @@ Listing.prototype = {
255
make_tag: function(text, type) {
256
var $tag = $("<a />", {
257
"name": type, "class" : "btn btn-default btn-xs",
258
- "html": " " + text
+ "html": " " + htmlEncode(text)
259
});
260
-
+
261
$("<span />", {"class" : "fa fa-remove"}).prependTo($tag);
262
$tag.click($.proxy(this.remove_tag, this));
263
return $tag;
0 commit comments