diff --git a/app/View/GalaxyElements/ajax/index.ctp b/app/View/GalaxyElements/ajax/index.ctp index 24290c49b..9bc542e09 100644 --- a/app/View/GalaxyElements/ajax/index.ctp +++ b/app/View/GalaxyElements/ajax/index.ctp @@ -83,7 +83,7 @@ if ($context == 'JSONView') { echo $this->element('/genericElements/IndexTable/index_table', $indexOptions); if ($context == 'JSONView') { - echo sprintf('
%s
', json_encode($JSONElements)); + echo sprintf('
%s
', json_encode(h($JSONElements))); } ?>