merge from main

This commit is contained in:
Kenneth Kehl
2025-03-31 09:24:10 -07:00
64 changed files with 1006 additions and 909 deletions

View File

@@ -232,8 +232,8 @@ def test_bleach_doesnt_try_to_make_valid_html_before_cleaning():
# We let users use & because its often pasted in URLs
("?a=1&b=2", "?a=1&b=2"),
# We let users use ( and ) because otherwise its
# impossible to put brackets in the body of conditional placeholders
("((var??(in brackets)))", "((var??(in brackets)))"),
# impossible to put parenthesis in the body of conditional placeholders
("((var??(in parenthesis)))", "((var??(in parenthesis)))"),
],
)
def test_escaping_html_entities(