diff --git a/app/listmonk/utils.py b/app/listmonk/utils.py index b7708f5..1f447f2 100644 --- a/app/listmonk/utils.py +++ b/app/listmonk/utils.py @@ -1,5 +1,6 @@ import logging +import ox import requests from django.conf import settings @@ -28,7 +29,7 @@ def send_week(monday): year, month, day = monday.split('-') body = views.week(year, month, day) name = 'weekly-digest-%s' % monday - subject = views.format_subject(monday) + subject = ox.strip_tags(views.format_subject(monday)) return send_email(name, subject, body) diff --git a/app/templates/archive.html b/app/templates/archive.html index b6d55fe..a17e8df 100644 --- a/app/templates/archive.html +++ b/app/templates/archive.html @@ -17,8 +17,8 @@ body { {% if week_title %}