From 2c79a0df4731918822974b22d043594644a1c94c Mon Sep 17 00:00:00 2001 From: Val Hendrix Date: Tue, 3 Oct 2023 12:15:46 -0700 Subject: [PATCH] feat(dois): prints line breaks for references Closes #396 --- archive_api/templates/archive_api/doi.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archive_api/templates/archive_api/doi.html b/archive_api/templates/archive_api/doi.html index 9e8ade8e..30919f8d 100644 --- a/archive_api/templates/archive_api/doi.html +++ b/archive_api/templates/archive_api/doi.html @@ -21,7 +21,7 @@ link = document.getElementById('download-link').href; document.getElementById('download-link').removeAttribute('href'); - ocument.getElementById('download-link').style.color = "grey"; + document.getElementById('download-link').style.color = "grey"; } @@ -173,7 +173,7 @@

Reference:

{% if not dataset.reference == None %} - {{ dataset.reference }} + {{ dataset.reference | linebreaks }} {% else %} This are no dataset references available.