close p tag properly
This commit is contained in:
parent
5ce0a679fb
commit
507d6d3508
|
@ -137,7 +137,7 @@ class Command(BaseCommand):
|
||||||
)
|
)
|
||||||
dates_string = f"<p><strong>Closes:</strong><em>{c_date:%a} {c_date.day} {c_date:%B}</em></p>"
|
dates_string = f"<p><strong>Closes:</strong><em>{c_date:%a} {c_date.day} {c_date:%B}</em></p>"
|
||||||
description_string = (
|
description_string = (
|
||||||
f"<p>{instance.details}<p><p style='margin-bottom:24px;'>{instance.event.description}</p>"
|
f"<p>{instance.details}</p><p style='margin-bottom:24px;'>{instance.event.description}</p>"
|
||||||
)
|
)
|
||||||
|
|
||||||
string_list = [title_string, dates_string, description_string]
|
string_list = [title_string, dates_string, description_string]
|
||||||
|
|
Loading…
Reference in a new issue