Skip to content

Commit

Permalink
render json correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
watzon committed Jan 30, 2025
1 parent 39d9112 commit 00b3a48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/paste.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
</div>

<div id="paste-content" class="paste-content">
{{#if (startsWith metadata.mimeType "text/")}}
{{#if (or (startsWith metadata.mimeType "text/") (startsWith metadata.mimeType "application/"))}}
<button class="expand-btn">expand</button>
{{{content}}}
{{else if (startsWith metadata.mimeType "image/")}}
Expand Down

0 comments on commit 00b3a48

Please sign in to comment.