allow tags in title/byline
This commit is contained in:
parent
5edf8a10f1
commit
e8e13562cc
3 changed files with 8 additions and 7 deletions
|
|
@ -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)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue