Fixes review markup for mastodon serialization

This commit is contained in:
Mouse Reeve 2022-01-18 10:57:52 -08:00
parent 9e450f2d99
commit 1c096ecfc2

View file

@ -2,15 +2,15 @@
{% if rating %} {% if rating %}
{% blocktrans trimmed with book_title=book.title|safe book_path=book.local_path display_rating=rating|floatformat:"-1" review_title=name|safe count counter=rating %} {% blocktrans trimmed with book_title=book.title|safe book_path=book.local_path display_rating=rating|floatformat:"-1" review_title=name|safe count counter=rating %}
Review of "<a href='{{ book_path }}'>{{ book_title }}</a>" ({{ display_rating }} star): {{ review_title }} Review of "<a href="{{ book_path }}">{{ book_title }}</a>" ({{ display_rating }} star): {{ review_title }}
{% plural %} {% plural %}
Review of "<a href='{{ book_path }}'>{{ book_title }}</a>" ({{ display_rating }} stars): {{ review_title }} Review of "<a href="{{ book_path }}">{{ book_title }}</a>" ({{ display_rating }} stars): {{ review_title }}
{% endblocktrans %} {% endblocktrans %}
{% else %} {% else %}
{% blocktrans trimmed with book_title=book.title|safe book_path=book.local_path review_title=name|safe %} {% blocktrans trimmed with book_title=book.title|safe book_path=book.local_path review_title=name|safe %}
Review of "<a href='{{ book_path }}'>{{ book_title }}</a>": {{ review_title }} Review of "<a href="{{ book_path }}">{{ book_title }}</a>": {{ review_title }}
{% endblocktrans %} {% endblocktrans %}
{% endif %} {% endif %}