translations fixed to be safe

This commit is contained in:
Priec
2026-08-15 12:44:36 +02:00
parent 6ef2694fef
commit 794efac594
26 changed files with 746 additions and 418 deletions

View File

@@ -148,7 +148,9 @@ mod tests {
assert!(html.contains("What can be posted right now"), "{html}");
assert!(html.contains("Ordinary transactions"));
assert!(html.contains("<strong>2026-08-13</strong>"), "{html}");
assert!(html.contains("Statements &amp; decisive dates"));
// Askama escapes `&` numerically. The title now comes from the
// catalogue as plain text, where it was pre-escaped markup before.
assert!(html.contains("Statements &#38; decisive dates"), "{html}");
assert!(html.contains("<strong>2026-08-12</strong>"), "{html}");
}