From 2f0e0eee450775a71ac3eb42707dcd970ede42c8 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Tue, 10 May 2016 12:46:47 -0400 Subject: Fixed #24046 -- Deprecated the "escape" half of utils.safestring. --- docs/howto/custom-template-tags.txt | 9 --------- 1 file changed, 9 deletions(-) (limited to 'docs/howto') diff --git a/docs/howto/custom-template-tags.txt b/docs/howto/custom-template-tags.txt index 97179de7b0..69e223c01c 100644 --- a/docs/howto/custom-template-tags.txt +++ b/docs/howto/custom-template-tags.txt @@ -210,15 +210,6 @@ passed around inside the template code: # Do something with the "safe" string. ... -* **Strings marked as "needing escaping"** are *always* escaped on - output, regardless of whether they are in an :ttag:`autoescape` block or - not. These strings are only escaped once, however, even if auto-escaping - applies. - - Internally, these strings are of type ``EscapeBytes`` or - ``EscapeText``. Generally you don't have to worry about these; they - exist for the implementation of the :tfilter:`escape` filter. - Template filter code falls into one of two situations: 1. Your filter does not introduce any HTML-unsafe characters (``<``, ``>``, -- cgit v1.3