Skip to content

Commit

Permalink
feat(dois): prints line breaks for references
Browse files Browse the repository at this point in the history
Closes #396
  • Loading branch information
vchendrix committed Oct 3, 2023
1 parent 18b2bc0 commit 327298e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions archive_api/templates/archive_api/doi.html
Original file line number Diff line number Diff line change
Expand Up @@ -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";

}

Expand Down Expand Up @@ -173,7 +173,7 @@ <h2>Reference:</h2>

{% if not dataset.reference == None %}

{{ dataset.reference }}
{{ dataset.reference | linebreaks }}

{% else %}
This are no dataset references available.
Expand Down

0 comments on commit 327298e

Please sign in to comment.