diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-01-16 13:13:03 -0500 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-01-16 13:13:03 -0500 |
| commit | 96998dd9fbf060cb873176440b75c51238e1c4ba (patch) | |
| tree | a6e3e821f60f284592fd82b2451526ae1f2045d3 /mako | |
| parent | 0050ca812536b4dce06d3e4a811e451676c0e60a (diff) | |
| download | external_python_mako-96998dd9fbf060cb873176440b75c51238e1c4ba.tar.gz external_python_mako-96998dd9fbf060cb873176440b75c51238e1c4ba.tar.bz2 external_python_mako-96998dd9fbf060cb873176440b75c51238e1c4ba.zip | |
- [bug] The exception message in the html_error_template
is now escaped with the HTML filter. [ticket:142]
Diffstat (limited to 'mako')
| -rw-r--r-- | mako/exceptions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mako/exceptions.py b/mako/exceptions.py index 45155aa..522227c 100644 --- a/mako/exceptions.py +++ b/mako/exceptions.py @@ -277,7 +277,7 @@ def html_error_template(): else: lines = None %> -<h3>${tback.errorname}: ${tback.message}</h3> +<h3>${tback.errorname}: ${tback.message|h}</h3> % if lines: <div class="sample"> |
