Changes between Version 4 and Version 5 of AutoEscape alternative


Ignore:
Timestamp:
11/14/2006 07:06:08 PM (9 years ago)
Author:
Gary Wilson <gary.wilson@…>
Comment:

added some #!xml's and added title

Legend:

Unmodified
Added
Removed
Modified
  • AutoEscape alternative

    v4 v5  
     1= AutoEscaping Alternative =
     2
    13The current AutoEscaping proposal has met arguments on several fronts:
    24
     
    79This alternative proposal attempts to provide a concise solution that answers these arguments:
    810
    9 = Suggested Solution =
     11== Suggested Solution ==
    1012
    1113Escaping only matters for !VariableNodes (`{{ object.name }}` tags). A filter is usually applied to each of these nodes.
     
    3032Any filter can be used with the `finalfilter` tag.
    3133
    32 = Example =
     34== Example ==
    3335
    3436`base.html`:
    3537
    3638{{{
     39#!xml
    3740{% load filtertags %}
    3841{% finalfilter escape %}
     
    5255`index.html`:
    5356{{{
     57#!xml
    5458{% extends "base.htm" %}
    5559
     
    6064}}}
    6165
    62 `edit.html`
     66`edit.html`:
    6367{{{
     68#!xml
    6469{% extends "base.html" %}
    6570
     
    7479}}}
    7580
    76 = Try It Out =
     81== Try It Out ==
    7782
    7883Basic instructions for using the file below:
Back to Top