diff options
| author | Min ho Kim <minho42@gmail.com> | 2019-07-02 17:36:17 +1000 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-07-02 09:36:17 +0200 |
| commit | fbb83fefd43a89d1a802d77dcc3a9c9ac15a5afa (patch) | |
| tree | 035f7261b2c9af23dbc9db9ed835db6caf42ca2b /django/utils/html.py | |
| parent | 090ca6512f514556394d4a8d321db7883f03e2a6 (diff) | |
Fixed typos in comments and docs.
Diffstat (limited to 'django/utils/html.py')
| -rw-r--r-- | django/utils/html.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
