diff options
| author | SaJH <wogur981208@gmail.com> | 2025-08-27 23:25:43 +0900 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2025-08-28 08:54:56 +0200 |
| commit | a9fe98d5bd4212d069afe8316101984aadecfbb2 (patch) | |
| tree | 9ec270af941dd2c2ec6824d3efeedd7c06a267f8 /tests/utils_tests/test_html.py | |
| parent | 05bac8c4202aba77dcb109aeedd35ff563331e1a (diff) | |
Fixed #35533 -- Prevented urlize creating broken links given a markdown link input.
Signed-off-by: SaJH <wogur981208@gmail.com>
Diffstat (limited to 'tests/utils_tests/test_html.py')
| -rw-r--r-- | tests/utils_tests/test_html.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/utils_tests/test_html.py b/tests/utils_tests/test_html.py index f1a29977a7..7167383aef 100644 --- a/tests/utils_tests/test_html.py +++ b/tests/utils_tests/test_html.py @@ -489,6 +489,7 @@ class TestUtilsHtml(SimpleTestCase): "foo@localhost.", "test@example?;+!.com", "email me@example.com,then I'll respond", + "[a link](https://www.djangoproject.com/)", # trim_punctuation catastrophic tests "(" * 100_000 + ":" + ")" * 100_000, "(" * 100_000 + "&:" + ")" * 100_000, |
