From 68cc04887b3c5b7ce8f28eaae5de266db99ca9a6 Mon Sep 17 00:00:00 2001 From: Shipeng Feng Date: Wed, 7 Jul 2021 17:19:33 +0800 Subject: Fixed #32866 -- Fixed trimming trailing punctuation from escaped string in urlize(). --- tests/utils_tests/test_html.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests') diff --git a/tests/utils_tests/test_html.py b/tests/utils_tests/test_html.py index 30f5ba68e8..909620ea3f 100644 --- a/tests/utils_tests/test_html.py +++ b/tests/utils_tests/test_html.py @@ -250,6 +250,10 @@ class TestUtilsHtml(SimpleTestCase): 'Search for google.com/?q=! and see.', 'Search for google.com/?q=! and see.' ), + ( + 'Search for google.com/?q=1<! and see.', + 'Search for google.com/?q=1<! and see.' + ), ( lazystr('Search for google.com/?q=!'), 'Search for google.com/?q=!' -- cgit v1.3