Fixed #30589 -- Clarified that urlize should be applied only to email addresses without single quotes.

This commit is contained in:
aitoehigie 2019-06-29 02:41:36 +01:00 committed by Mariusz Felisiak
parent 868cd56f05
commit c2f381ef17
1 changed files with 3 additions and 2 deletions

View File

@ -2432,8 +2432,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