From 0869d155dbc50fbc9d0973b10050cd5c65601721 Mon Sep 17 00:00:00 2001 From: Toni Uebernickel Date: Tue, 17 Jul 2012 17:52:07 +0300 Subject: [PATCH] fix example autoescape for javascript {% autoescape js %} triggers an exception "An escaping strategy must be a string or a Boolean in .." --- doc/recipes.rst | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/doc/recipes.rst b/doc/recipes.rst index 5f98504..41540f2 100644 --- a/doc/recipes.rst +++ b/doc/recipes.rst @@ -328,7 +328,7 @@ you have some dynamic JavaScript files thanks to the ``autoescape`` tag: .. code-block:: jinja - {% autoescape js %} + {% autoescape 'js' %} ... some JS ... {% endautoescape %} -- 1.7.2.5