From fbb83fefd43a89d1a802d77dcc3a9c9ac15a5afa Mon Sep 17 00:00:00 2001 From: Min ho Kim Date: Tue, 2 Jul 2019 17:36:17 +1000 Subject: Fixed typos in comments and docs. --- django/utils/html.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'django/utils') diff --git a/django/utils/html.py b/django/utils/html.py index b26cbd16b8..fb636600c9 100644 --- a/django/utils/html.py +++ b/django/utils/html.py @@ -274,7 +274,7 @@ def urlize(text, trim_url_limit=None, nofollow=False, autoescape=False): trail = closing + trail trimmed_something = True # Trim trailing punctuation (after trimming wrapping punctuation, - # as encoded entities contain ';'). Unescape entites to avoid + # as encoded entities contain ';'). Unescape entities to avoid # breaking them by removing ';'. middle_unescaped = html.unescape(middle) stripped = middle_unescaped.rstrip(TRAILING_PUNCTUATION_CHARS) -- cgit v1.3