aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2010-06-22 17:35:14 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2010-06-22 17:35:14 -0400
commita0354c3ef082ab4559064529678b027ead78b031 (patch)
tree5f47a56b2952a2b7334ce685ac71c7171f15330c /setup.py
parentc3874653cbdf58f5aaa39ef51ee4433af4d42fb8 (diff)
downloadexternal_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.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/setup.py b/setup.py
index abac5f5..f6c6a66 100644
--- a/setup.py
+++ b/setup.py
@@ -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]