diff --git a/docs/releases/1.7.txt b/docs/releases/1.7.txt index 9df1b666d5..d281b2a397 100644 --- a/docs/releases/1.7.txt +++ b/docs/releases/1.7.txt @@ -1472,7 +1472,7 @@ If all you need is to generate valid javascript strings, you can simply use ``fix_ampersands`` utils method and template filter ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -The ``django.utils.html.fix_ampersands`` method and the :tfilter:`fix_ampersands` +The ``django.utils.html.fix_ampersands`` method and the ``fix_ampersands`` template filter are deprecated, as the escaping of ampersands is already taken care of by Django's standard HTML escaping features. Combining this with ``fix_ampersands`` would either result in double escaping, or, if the output is assumed to be safe,