Ticket #6752: t6752.diff

File t6752.diff, 645 bytes (added by Alex Gaynor, 14 years ago)

Slightly different wording.

  • docs/ref/templates/builtins.txt

    diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt
    index 01f4971..a08fe9c 100644
    a b safe  
    16831683Marks a string as not requiring further HTML escaping prior to output. When
    16841684autoescaping is off, this filter has no effect.
    16851685
     1686.. note::
     1687   
     1688    If you are chaining filters something after ``safe`` can unescape the
     1689    contents.  For example the following code prints the variable as is,
     1690    unescaped:
     1691   
     1692    .. code-block:: html+django
     1693       
     1694        {{ var|safe|escape }}
     1695
    16861696.. templatefilter:: safeseq
    16871697
    16881698safeseq
Back to Top