diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-06-22 17:35:14 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-06-22 17:35:14 -0400 |
commit | a0354c3ef082ab4559064529678b027ead78b031 (patch) | |
tree | 5f47a56b2952a2b7334ce685ac71c7171f15330c /setup.py | |
parent | c3874653cbdf58f5aaa39ef51ee4433af4d42fb8 (diff) | |
download | external_python_mako-a0354c3ef082ab4559064529678b027ead78b031.tar.gz external_python_mako-a0354c3ef082ab4559064529678b027ead78b031.tar.bz2 external_python_mako-a0354c3ef082ab4559064529678b027ead78b031.zip |
- Now using MarkupSafe for HTML escaping,
i.e. in place of cgi.escape(). Faster
C-based implementation and also escapes
single quotes for additional security.
Supports the __html__ attribute for
the given expression as well.
When using "disable_unicode" mode,
a pure Python HTML escaper function
is used which also quotes single quotes.
Note that Pylons by default doesn't
use Mako's filter - check your
environment.py file.
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -48,6 +48,7 @@ ties to Python calling and scoping semantics. zip_safe=False, install_requires=[ 'Beaker>=1.1', + 'MarkupSafe>=0.9.2', ], entry_points=""" [python.templating.engines] |