forked from orbit-oss/flask
Started working on refactoring Jinja integration
This commit is contained in:
parent
a154c87cfc
commit
7599046d04
5 changed files with 54 additions and 8 deletions
|
|
@ -414,6 +414,13 @@ Markup(u'<blink>hacker</blink>')
|
|||
>>> Markup('<em>Marked up</em> » 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue