Skip to content

Commit

Permalink
Fixes linebreaks when viewing descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
ab623 committed Apr 17, 2024
1 parent 0586983 commit 36bb0b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bookmarks/templates/bookmarks/bookmark_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
{% else %}
{% if bookmark_item.description %}
<div class="description separate">
{{ bookmark_item.description }}
{{ bookmark_item.description|linebreaks }}
</div>
{% endif %}
{% if bookmark_item.tag_names %}
Expand Down
2 changes: 1 addition & 1 deletion bookmarks/templates/bookmarks/details/form.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
{% if details.bookmark.resolved_description %}
<div class="description col-2">
<dt>Description</dt>
<dd>{{ details.bookmark.resolved_description }}</dd>
<dd>{{ details.bookmark.resolved_description|linebreaks }}</dd>
</div>
{% endif %}
{% if details.bookmark.notes %}
Expand Down

0 comments on commit 36bb0b1

Please sign in to comment.