# HG changeset patch # User Pawel Solyga # Date 1221987551 0 # Node ID 37d98c3cefa5cb6d866debd0fb92197460c5ac35 # Parent 72f193fb56336cda7a814538057fed0052fc924c Small change to unescape function in template_helpers (move replace('&', '&') at the end). diff -r 72f193fb5633 -r 37d98c3cefa5 app/soc/views/helpers/template_helpers.py --- a/app/soc/views/helpers/template_helpers.py Sun Sep 21 08:56:52 2008 +0000 +++ b/app/soc/views/helpers/template_helpers.py Sun Sep 21 08:59:11 2008 +0000 @@ -64,8 +64,8 @@ if not isinstance(html, basestring): html = str(html) - html.replace('&', '&').replace('<', '<') - html.replace('>', '>').replace('"', '"').replace(''',"'") + html.replace(''',"'").replace('<', '<') + html.replace('>', '>').replace('"', '"').replace('&', '&') return html