diff options
author | Vincent Férotin <vincent.ferotin@gmail.com> | 2012-05-14 19:34:01 +0200 |
---|---|---|
committer | Vincent Férotin <vincent.ferotin@gmail.com> | 2012-05-14 19:34:01 +0200 |
commit | 86de3dc7464e616fd2403741ffe8088e2d3b49da (patch) | |
tree | 413f229ebb2c6c88aa880de0291374805f5f0b18 /doc/build/unicode.rst | |
parent | ed83e2396a242d5c829705f4494abbe00f9fb7bc (diff) | |
download | external_python_mako-86de3dc7464e616fd2403741ffe8088e2d3b49da.tar.gz external_python_mako-86de3dc7464e616fd2403741ffe8088e2d3b49da.tar.bz2 external_python_mako-86de3dc7464e616fd2403741ffe8088e2d3b49da.zip |
Add paragraph-level version information markup from Sphinx
(``.. versionadded::``, ``.. versionchanged::`` and ``.. deprecated::``),
update docs CSS to put those infos into boxes.
Diffstat (limited to 'doc/build/unicode.rst')
-rw-r--r-- | doc/build/unicode.rst | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/build/unicode.rst b/doc/build/unicode.rst index 61ca35c..a8bdcc7 100644 --- a/doc/build/unicode.rst +++ b/doc/build/unicode.rst @@ -323,12 +323,14 @@ mode you **cannot** safely call :meth:`~.Template.render_unicode` -- you'll get unicode/decode errors. The ``h`` filter (HTML escape) uses a less performant pure Python -escape function in non-unicode mode (note that in versions prior -to 0.3.4, it used ``cgi.escape()``, which has been replaced with a -function that also escapes single quotes). This because +escape function in non-unicode mode. This because MarkupSafe only supports Python unicode objects for non-ASCII strings. +.. versionchanged:: 0.3.4 + In prior versions, it used ``cgi.escape()``, which has been replaced + with a function that also escapes single quotes. + Rules for using ``disable_unicode=True`` ---------------------------------------- |