mirror of
https://github.com/django/django.git
synced 2025-06-13 23:49:13 +00:00
[2.2.x] Fixed #30589 -- Clarified that urlize should be applied only to email addresses without single quotes.
Backport of c2f381ef17058e5cfea58ae507983d2e459a2888 from master
This commit is contained in:
parent
2b533ae60e
commit
b9d1bb6955
@ -2434,8 +2434,9 @@ Django's built-in :tfilter:`escape` filter. The default value for
|
|||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
If ``urlize`` is applied to text that already contains HTML markup,
|
If ``urlize`` is applied to text that already contains HTML markup, or to
|
||||||
things won't work as expected. Apply this filter only to plain text.
|
email addresses that contain single quotes (``'``), things won't work as
|
||||||
|
expected. Apply this filter only to plain text.
|
||||||
|
|
||||||
.. templatefilter:: urlizetrunc
|
.. templatefilter:: urlizetrunc
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user