diff options
| author | aitoehigie <aitoehigie@gmail.com> | 2019-06-29 02:41:36 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-07-01 12:03:56 +0200 |
| commit | b9d1bb6955d45d9da165ed11292a197d0728fe3f (patch) | |
| tree | 6bc717ffe865c722d4ca811de15fb9b375c92699 /docs | |
| parent | 2b533ae60e37f68fc6e9328334cd813cf0b4aa09 (diff) | |
[2.2.x] Fixed #30589 -- Clarified that urlize should be applied only to email addresses without single quotes.
Backport of c2f381ef17058e5cfea58ae507983d2e459a2888 from master
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/templates/builtins.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt index daa4a48ee6..8a8514914e 100644 --- a/docs/ref/templates/builtins.txt +++ b/docs/ref/templates/builtins.txt @@ -2434,8 +2434,9 @@ Django's built-in :tfilter:`escape` filter. The default value for .. note:: - If ``urlize`` is applied to text that already contains HTML markup, - things won't work as expected. Apply this filter only to plain text. + If ``urlize`` is applied to text that already contains HTML markup, or to + email addresses that contain single quotes (``'``), things won't work as + expected. Apply this filter only to plain text. .. templatefilter:: urlizetrunc |
