Skip to content
Myr

Fixed a documentation bug.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

--HG-- branch : trunk

authored by Armin Ronacher · committed by Armin Ronacher · parent 7a519ee · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:jinja2/utils.py+2 added-2 removed
284 unmodified lines
285 subclass of `unicode` and provides all the methods of `unicode` just that286 it escapes arguments passed and always returns `Markup`.287288 The `escape` function returns markup objects so that double escaping can't289 happen. If you want to use autoescaping in Jinja just set the finalizer290 of the environment to `escape`.289 happen. If you want to use autoescaping in Jinja just enable the290 autoescaping feature in the environment.291292 The constructor of the :class:`Markup` class can be used for three293 different things: When passed an unicode object it's assumed to be safe,294 when passed an object with an HTML representation (has an `__html__`
397 unmodified lines