Mercurial > public > src > rhodecode
diff pylons_app/lib/helpers.py @ 483:0668919c307c
fixed escaping in tooltip
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Thu, 02 Sep 2010 20:07:05 +0200 |
parents | e5157e2a530e |
children | 4679105ef03e |
line wrap: on
line diff
--- a/pylons_app/lib/helpers.py Wed Sep 01 23:38:03 2010 +0200 +++ b/pylons_app/lib/helpers.py Thu Sep 02 20:07:05 2010 +0200 @@ -75,8 +75,8 @@ @param tooltip_title: """ - return literal(wrap_paragraphs(tooltip_title, trim_at)\ - .replace('\n', '<br/>')) + return wrap_paragraphs(escape(tooltip_title), trim_at)\ + .replace('\n', '<br/>') def activate(self): """