translations fixed to be safe
This commit is contained in:
@@ -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 & 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 & decisive dates"), "{html}");
|
||||
assert!(html.contains("<strong>2026-08-12</strong>"), "{html}");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user