Loading docs/releases/1.7.txt +1 −1 Original line number Diff line number Diff line Loading @@ -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, Loading Loading
docs/releases/1.7.txt +1 −1 Original line number Diff line number Diff line Loading @@ -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, Loading