Skip to content
Myr

three is the new two

Before adoption: this commit came in with the history the project adopted, so no landing records it.

--HG-- branch : trunk

authored by Armin Ronacher · committed by Armin Ronacher · parent 8a67251 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/api.rst+1 added-1 removed
582 unmodified lines
583 publication date: {{ article.pub_date|datetimeformat('%d-%m-%Y') }}584585Filters can also be passed the current template context or environment. This586is useful if a filter wants to return an undefined value or check the current587:attr:`~Environment.autoescape` setting. For this purpose two decorators587:attr:`~Environment.autoescape` setting. For this purpose three decorators588exist: :func:`environmentfilter`, :func:`contextfilter` and589:func:`evalcontextfilter`.590591Here a small example filter that breaks a text into HTML line breaks and
196 unmodified lines