Skip to content

Commit

Permalink
Merge pull request #1829 from GSA/1817-display-raw-html
Browse files Browse the repository at this point in the history
1817 display raw html
  • Loading branch information
gchi25 authored Sep 18, 2024
2 parents 644eb75 + 9845ed0 commit b47cc15
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ public function getData($id) {
"benefits" => $benefits,
];
$json = json_encode($result, JSON_PRETTY_PRINT);
$json = htmlspecialchars($json);

if ($this->displayData) {
print_r("<p>JSON Data<pre>");
Expand Down

0 comments on commit b47cc15

Please sign in to comment.