aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2013-03-21 11:39:02 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2013-03-21 11:39:02 -0400
commit1eaddf9524ed292cda3c6454f9e24a712c13ae87 (patch)
tree11bc18eda658084c6e2e2d5c95554cf3217d96e3
parent779e1f330ee112500f862d5fdf056654abd48d37 (diff)
downloadexternal_python_mako-1eaddf9524ed292cda3c6454f9e24a712c13ae87.tar.gz
external_python_mako-1eaddf9524ed292cda3c6454f9e24a712c13ae87.tar.bz2
external_python_mako-1eaddf9524ed292cda3c6454f9e24a712c13ae87.zip
- remove erroneous html_escape line that bypasses markupsafe
-rw-r--r--mako/filters.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/mako/filters.py b/mako/filters.py
index 428c926..464e390 100644
--- a/mako/filters.py
+++ b/mako/filters.py
@@ -37,8 +37,6 @@ try:
except ImportError:
html_escape = legacy_html_escape
-html_escape = legacy_html_escape
-
def xml_escape(string):
return re.sub(r'([&<"\'>])', lambda m: xml_escapes[m.group()], string)