1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

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

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