Permalink
Browse files

Fixed a documentation bug.

--HG--
branch : trunk
  • Loading branch information...
1 parent 7a519ee commit 88e1cb7fdd0c2f6ba16d87f0744e125a77ce332c @mitsuhiko mitsuhiko committed Sep 8, 2008
Showing with 2 additions and 2 deletions.
  1. +2 −2 jinja2/utils.py
View
4 jinja2/utils.py
@@ -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,

0 comments on commit 88e1cb7

Please sign in to comment.