diff --git a/luigi/static/visualiser/js/graph.js b/luigi/static/visualiser/js/graph.js index e646e4e025..f996526bd7 100644 --- a/luigi/static/visualiser/js/graph.js +++ b/luigi/static/visualiser/js/graph.js @@ -277,14 +277,14 @@ Graph = (function() { .appendTo(g); var titleText = node.name; - var content = $.map(node.params, function (value, name) { return name + ": " + value; }).join("
"); + var content = $.map(node.params, function (value, name) { return escapeHtml(name + ": " + value); }).join("
"); g.attr("title", titleText) .popover({ trigger: 'hover', container: 'body', html: true, placement: 'top', - content: escapeHtml(content) + content: content }); });