From 37e48988b1bfee0e4971af25b6ed02a5f44d97f5 Mon Sep 17 00:00:00 2001 From: Fabien Basmaison Date: Sat, 10 Apr 2021 00:07:01 +0200 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20use=20linebreak=20in=20DTL=20bl?= =?UTF-8?q?ock=20comments.=20(might=20break=20the=20linter=20on=20the=20le?= =?UTF-8?q?ngth=20of=20line)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bookwyrm/templates/book/publisher_info.html | 6 ++---- bookwyrm/templates/snippets/authors.html | 3 +-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/bookwyrm/templates/book/publisher_info.html b/bookwyrm/templates/book/publisher_info.html index 8a8f050e..a16332c5 100644 --- a/bookwyrm/templates/book/publisher_info.html +++ b/bookwyrm/templates/book/publisher_info.html @@ -6,8 +6,7 @@ {% with format=book.physical_format pages=book.pages %} {% if format %} {% comment %} - @todo The bookFormat property is limited to a list of values - whereas the book edition is free text. + @todo The bookFormat property is limited to a list of values whereas the book edition is free text. @see https://schema.org/bookFormat {% endcomment %} @@ -49,8 +48,7 @@ {% endif %} {% comment %} - @todo The publisher property needs to be an Organization or a Person. - We’ll be using Thing which is the more generic ancestor. + @todo The publisher property needs to be an Organization or a Person. We’ll be using Thing which is the more generic ancestor. @see https://schema.org/Publisher {% endcomment %} {% if book.publishers %} diff --git a/bookwyrm/templates/snippets/authors.html b/bookwyrm/templates/snippets/authors.html index 5470c9f7..9459b0fe 100644 --- a/bookwyrm/templates/snippets/authors.html +++ b/bookwyrm/templates/snippets/authors.html @@ -1,7 +1,6 @@ {% spaceless %} {% comment %} - @todo The author property needs to be an Organization or a Person. We’ll be - using Thing which is the more generic ancestor. + @todo The author property needs to be an Organization or a Person. We’ll be using Thing which is the more generic ancestor. @see https://schema.org/Author {% endcomment %} {% for author in book.authors.all %}