[FIX] fix &,<,> problem for html2html report
bzr revid: dsh@tinyerp.com-20090610122734-0kq9vh870pmme4q3
This commit is contained in:
parent
683f3fe232
commit
37060d2b3b
|
@ -513,6 +513,6 @@ class report_sxw(report_rml, preprocess.report):
|
|||
create_doc = self.generators['html2html']
|
||||
html = etree.tostring(create_doc(html_dom, html_parser.localcontext))
|
||||
|
||||
return (html.replace('<', '<').replace('>', '>').replace('</br>',''), report_type)
|
||||
return (html.replace('&','&').replace('<', '<').replace('>', '>').replace('</br>',''), report_type)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue