Ticket #7544: 7544.diff

File 7544.diff, 485 bytes (added by Marc Garcia, 16 years ago)

Patch with a better example on documentation.

  • docs/templates.txt

     
    481481
    482482...rather than ::
    483483
    484     {{ data|default:"3 > 2" }}  <-- Bad! Don't do this.
     484    {{ data|default:"2 < 3" }}  <-- Bad! Don't do this.
    485485
    486486This doesn't affect what happens to data coming from the variable itself.
    487487The variable's contents are still automatically escaped, if necessary, because
Back to Top