Fixes list note display

This commit is contained in:
Mouse Reeve 2022-02-04 12:02:10 -08:00
parent 719df5621c
commit fefb7e582a
2 changed files with 2 additions and 3 deletions

View file

@ -84,9 +84,7 @@
<a href="{{ user_path }}">{{ username }}</a> says: <a href="{{ user_path }}">{{ username }}</a> says:
{% endblocktrans %} {% endblocktrans %}
</header> </header>
<p> {{ item.notes|to_markdown|safe }}
{{ item.notes|to_markdown|safe }}
</p>
</div> </div>
{% if item.user == request.user %} {% if item.user == request.user %}
<div> <div>

View file

@ -179,6 +179,7 @@ class ListViews(TestCase):
book_list=self.list, book_list=self.list,
user=self.local_user, user=self.local_user,
book=self.book, book=self.book,
notes="hi hello",
approved=True, approved=True,
order=1, order=1,
) )