Public Access
fix: escape member.name in step_email; add all-voted reminder test
This commit is contained in:
@@ -145,7 +145,7 @@ def step_email(run: "WeeklyRun", db: "Session") -> None:
|
||||
email_html = (
|
||||
f"<h2>This week's meal suggestions</h2>"
|
||||
f"{stale_banner}"
|
||||
f"<p>Hi {member.name}, please vote on this week's meals by Fri 17:00 PT:</p>"
|
||||
f"<p>Hi {html.escape(member.name)}, please vote on this week's meals by Fri 17:00 PT:</p>"
|
||||
f"<ul>{''.join(item_html_parts)}</ul>"
|
||||
f"<p>Silence = approved. Any denial removes that meal.</p>"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user