mirror of https://github.com/MISP/MISP
Merge remote-tracking branch 'origin/2.4' into develop
commit
6003aaee27
|
@ -299,7 +299,7 @@ $randomClass = "relation-{$random}";
|
|||
.attr("class", "well well-small")
|
||||
.style('padding', '4px 9px')
|
||||
.style('white-space', 'nowrap')
|
||||
.html(function(d) { return d.Relation.referenced_galaxy_cluster_type; })
|
||||
.text(function(d) { return d.Relation.referenced_galaxy_cluster_type; })
|
||||
|
||||
paddingX = 8;
|
||||
gEnter.append("foreignObject")
|
||||
|
@ -319,7 +319,7 @@ $randomClass = "relation-{$random}";
|
|||
.style('background-color', tag.colour)
|
||||
.style('color', getTextColour(tag.colour))
|
||||
.style('display', 'inline')
|
||||
.html(tag.name)
|
||||
.text(tag.name)
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
|
@ -83,7 +83,7 @@ if ($context == 'JSONView') {
|
|||
|
||||
echo $this->element('/genericElements/IndexTable/index_table', $indexOptions);
|
||||
if ($context == 'JSONView') {
|
||||
echo sprintf('<div id="elementJSONDiv" class="well well-small">%s</div>', json_encode($JSONElements));
|
||||
echo sprintf('<div id="elementJSONDiv" class="well well-small">%s</div>', json_encode(h($JSONElements)));
|
||||
}
|
||||
?>
|
||||
|
||||
|
|
Loading…
Reference in New Issue