Started working on refactoring Jinja integration

This commit is contained in:
Armin Ronacher 2010-07-04 11:16:24 +02:00
parent a154c87cfc
commit 7599046d04
5 changed files with 54 additions and 8 deletions

View file

@ -414,6 +414,13 @@ Markup(u'<blink>hacker</blink>')
>>> Markup('<em>Marked up</em> &raquo; HTML').striptags()
u'Marked up \xbb HTML'
.. versionchanged:: 0.5
Autoescaping is no longer enabled for all templates. The following
extensions for templates trigger autoescaping: ``.html``, ``.htm``,
``.xml``, ``.xhtml``. Templates loaded from string will have
autoescaping disabled.
.. [#] Unsure what that :class:`~flask.g` object is? It's something you
can store information on yourself, check the documentation of that
object (:class:`~flask.g`) and the :ref:`sqlite3` for more