aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-06-30 21:00:15 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-06-30 21:00:15 -0700
commitbd535251ce3d236f94bdaf1291c3ec2a74c7f951 (patch)
tree6650065bafb79d33ba54519e94be8f81069f55fe
parent45a85d3ab211808a545cb9e39ca07a5501d3402f (diff)
downloadfatcat-bd535251ce3d236f94bdaf1291c3ec2a74c7f951.tar.gz
fatcat-bd535251ce3d236f94bdaf1291c3ec2a74c7f951.zip
extra json as code, not pre
-rw-r--r--python/fatcat/templates/file_view.html2
-rw-r--r--python/fatcat/templates/release_view.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat/templates/file_view.html b/python/fatcat/templates/file_view.html
index e8d81ed7..c125eff5 100644
--- a/python/fatcat/templates/file_view.html
+++ b/python/fatcat/templates/file_view.html
@@ -15,7 +15,7 @@
{% if file.extra != None %}
<p><b>Additional Metadata (raw JSON):</b>
-<pre>{{ file.extra }}</pre>
+<code>{{ file.extra }}</code>
{% endif %}
<h3>Releases</h3>
diff --git a/python/fatcat/templates/release_view.html b/python/fatcat/templates/release_view.html
index 98d54976..030662f3 100644
--- a/python/fatcat/templates/release_view.html
+++ b/python/fatcat/templates/release_view.html
@@ -57,7 +57,7 @@ linked to the same work.
{% if release.extra != None %}
<p><b>Additional Metadata (raw JSON):</b>
-<pre>{{ release.extra }}</pre>
+<code>{{ release.extra }}</code>
{% endif %}
<!--