Address code review feedback - simplify XSS assertion

Co-authored-by: cadtoolbox <12723486+cadtoolbox@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-02-10 01:16:55 +00:00
co-authored by cadtoolbox
parent 3bbd1eb199
commit 0cc40088bf
@@ -159,4 +159,5 @@ class TestEmailTemplateFormatting:
# Verify that script tags are escaped
assert "&lt;script&gt;" in html_body
assert "<script>" not in html_body or html_body.count("<script>") == 0 # No unescaped script tags
# Verify no unescaped script tags
assert "<script>" not in html_body