diff --git a/cps/basic.py b/cps/basic.py index b01210109..fdf453a04 100644 --- a/cps/basic.py +++ b/cps/basic.py @@ -19,7 +19,6 @@ # along with this program. If not, see . -from cps.pagination import Pagination from flask import Blueprint from flask_babel import gettext as _ from flask_babel import get_locale diff --git a/cps/templates/basic_detail.html b/cps/templates/basic_detail.html index dc8242536..c5a77c952 100644 --- a/cps/templates/basic_detail.html +++ b/cps/templates/basic_detail.html @@ -31,7 +31,7 @@

Details

{% if entry.series|length > 0 %} -

{{ _("Book %(index)s of %(range)s", index=entry.series_index | formatfloat(2), range=(entry.series[0].name)|safe) }}

+

{{ _("Book %(index)s of %(range)s", index=entry.series_index|formatfloat(2), range=entry.series[0].name|e) }}

{% endif %} {% if entry.languages|length > 0 %}