diff --git a/cps/templates/feed.xml b/cps/templates/feed.xml index d3d4e1067..64be917b3 100644 --- a/cps/templates/feed.xml +++ b/cps/templates/feed.xml @@ -65,15 +65,13 @@ {% endfor %}
{% if entry.Books.ratings.__len__() > 0 %} - RATING: - {% for number in range((entry.Books.ratings[0].rating/2)|int(2)) %} - ★ - {% if loop.last and loop.index < 5 %} - {% for numer in range(5 - loop.index) %} - ★ - {% endfor %} - {% endif %} - {% endfor %}
+ RATING: {% for number in range((entry.Books.ratings[0].rating/2)|int(2)) %} + ★{% if loop.last and loop.index < 5 %} + {% for numer in range(5 - loop.index) %} + ★ + {% endfor %} + {% endif %} + {% endfor %}
{% endif %} {% if entry.Books.tags|length > 0 %} TAGS: {% for tag in entry.Books.tags %}{{tag.name}}{{ ", " if not loop.last else "" }}{% endfor %}
@@ -119,7 +117,7 @@ {% endif %} {% if entry.Books.comments[0] %} -

{{entry.Books.comments[0].text|striptags}}

+

{{entry.Books.comments[0].text}}

{% endif %}
{% if entry.Books.has_cover %}