From 8f28e7890e0c384e638409d02da20f50f9ac7435 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jacek=20J=C4=99drzejewski?= Date: Sun, 27 Jan 2013 11:29:20 +0100 Subject: [PATCH] Missing code-block in doc/templates.rst --- doc/templates.rst | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) 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') }} -- 1.7.2.5