allow tags in title/byline

This commit is contained in:
j 2025-03-09 14:29:45 +01:00
commit e8e13562cc
3 changed files with 8 additions and 7 deletions

View file

@ -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)