diff --git a/sigal/themes/colorbox/templates/base.html b/sigal/themes/colorbox/templates/base.html index 37f6283..2b85e3e 100644 --- a/sigal/themes/colorbox/templates/base.html +++ b/sigal/themes/colorbox/templates/base.html @@ -4,7 +4,7 @@ - {{ album.title }} + {{ album.title|striptags }} - {{ settings.title }} diff --git a/sigal/themes/galleria/templates/base.html b/sigal/themes/galleria/templates/base.html index 6a94e6b..092e4b1 100644 --- a/sigal/themes/galleria/templates/base.html +++ b/sigal/themes/galleria/templates/base.html @@ -4,7 +4,7 @@ - {{ album.title|striptags }} + {{ album.title|striptags }} - {{ settings.title }} diff --git a/sigal/themes/photoswipe/templates/base.html b/sigal/themes/photoswipe/templates/base.html index fe477c2..56fdea4 100644 --- a/sigal/themes/photoswipe/templates/base.html +++ b/sigal/themes/photoswipe/templates/base.html @@ -4,7 +4,7 @@ - {{ album.title }} + {{ album.title|striptags }} - {{ settings.title }} diff --git a/tests/test_gallery.py b/tests/test_gallery.py index c9748db..1135574 100644 --- a/tests/test_gallery.py +++ b/tests/test_gallery.py @@ -295,7 +295,7 @@ def test_gallery(settings, tmpdir): with open(out_html) as f: html = f.read() - assert 'Sigal test gallery' in html + assert 'Sigal test gallery - Sigal test gallery ☺' in html assert '' in html logger = logging.getLogger('sigal')