close p tag properly

This commit is contained in:
Hugh Rundle 2024-11-09 09:59:57 +11:00
parent 5ce0a679fb
commit 507d6d3508
Signed by: hugh
GPG key ID: A7E35779918253F9

View file

@ -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>"
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]