From: Jacek Jędrzejewski Date: Sun, 27 Jan 2013 10:29:20 +0000 (+0100) Subject: Missing code-block in doc/templates.rst X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=8f28e7890e0c384e638409d02da20f50f9ac7435;p=web%2Fkonrad%2Ftwig.git Missing code-block in doc/templates.rst --- diff --git a/doc/templates.rst b/doc/templates.rst index 4ffd3a8..5e3b678 100644 --- a/doc/templates.rst +++ b/doc/templates.rst @@ -446,6 +446,8 @@ By default, the ``escape`` filter uses the ``html`` strategy, but depending on the escaping context, you might want to explicitly use any other available strategies: +.. code-block:: jinja + {{ user.username|e('js') }} {{ user.username|e('css') }} {{ user.username|e('url') }}