Fixes nested quotes

This commit is contained in:
Mouse Reeve 2022-01-12 10:41:48 -08:00
parent 7f23e8c112
commit 581e3d17e0

View file

@ -2,15 +2,15 @@
{% 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 %}
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 %}
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 %}
{% else %}
{% blocktrans trimmed with book_title=book.title|safe 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 %}
{% endif %}