Skip to content

Commit

Permalink
Merge pull request #304 from devinfd/patch-1
Browse files Browse the repository at this point in the history
Update endpoint.blade.php
  • Loading branch information
shalvah authored Aug 26, 2021
2 parents 4395bf5 + e10d4f5 commit 4bb1aae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/themes/default/endpoint.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
@else
@php($parsed = json_decode($response->content))
{{-- If response is a JSON string, prettify it. Otherwise, just print it --}}
<code class="language-json">{!! htmlentities($parsed != null ? json_encode($parsed, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE) : $response->content) !!}</code>
<code class="language-json">{!! htmlentities($parsed != null ? json_encode($parsed, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES) : $response->content) !!}</code>
@endif </pre>
@endforeach
@endif
Expand Down

0 comments on commit 4bb1aae

Please sign in to comment.