Fixed a documentation bug.
authorArmin Ronacher <armin.ronacher@active-4.com>
Mon, 8 Sep 2008 21:55:32 +0000 (23:55 +0200)
committerArmin Ronacher <armin.ronacher@active-4.com>
Mon, 8 Sep 2008 21:55:32 +0000 (23:55 +0200)
--HG--
branch : trunk

jinja2/utils.py

index 1ed653668bce549de384808b13a8f2fb5aa8edec..f0ae6a971a40c34cade803b24bb2604e4997e7e0 100644 (file)
@@ -286,8 +286,8 @@ class Markup(unicode):
     it escapes arguments passed and always returns `Markup`.
 
     The `escape` function returns markup objects so that double escaping can't
-    happen.  If you want to use autoescaping in Jinja just set the finalizer
-    of the environment to `escape`.
+    happen.  If you want to use autoescaping in Jinja just enable the
+    autoescaping feature in the environment.
 
     The constructor of the :class:`Markup` class can be used for three
     different things:  When passed an unicode object it's assumed to be safe,