author | David Douard <david.douard@logilab.fr> |
Mon, 14 Oct 2013 16:47:11 +0200 | |
changeset 1453 | 3ca3071c2202 |
parent 1452 | ab2a19b30283 |
child 1454 | a3dcc0a1d6fa |
entities.py | file | annotate | diff | comparison | revisions |
--- a/entities.py Tue Oct 22 21:47:29 2013 +0200 +++ b/entities.py Mon Oct 14 16:47:11 2013 +0200 @@ -25,7 +25,7 @@ def _anchor_name(data): """escapes XML/HTML forbidden characters in attributes and PCDATA""" return (data.replace('&', '').replace('<', '').replace('>','') - .replace('"', '').replace("'", '')) + .replace('"', '').replace("'", '').replace(' ', '_')) class ExecutionRSSMixin(object): # XXX move to an ui adapter