diff options
| author | Naresh Choksy <nch@tinyerp.com> | 2009-05-22 11:37:00 +0530 |
|---|---|---|
| committer | Naresh Choksy <nch@tinyerp.com> | 2009-05-22 11:37:00 +0530 |
| commit | c1529aaa808455cfd518502258aecc38a58534ec (patch) | |
| tree | 3956b3e3d11a66d49b2456d84de14f70c57fb8c6 /bin/report/render/html2html/html2html.py | |
| parent | c9ff64828bf36d0c39f5d3131e65e63d22e840bd (diff) | |
| parent | 542f9f3a943ec0c27001ad8068305e9e80b424d5 (diff) | |
merge
bzr revid: nch@tinyerp.com-20090513090003-0kgwy54iyh3e6oue
bzr revid: nch@tinyerp.com-20090514120121-idlychqdzg9ougd6
bzr revid: nch@tinyerp.com-20090522060700-cqf474swza8z3ab3
Diffstat (limited to 'bin/report/render/html2html/html2html.py')
| -rw-r--r-- | bin/report/render/html2html/html2html.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/report/render/html2html/html2html.py b/bin/report/render/html2html/html2html.py index 7894dd78516..28c22f4b10e 100644 --- a/bin/report/render/html2html/html2html.py +++ b/bin/report/render/html2html/html2html.py @@ -49,6 +49,8 @@ class html2html(object): src = utils._process_text(self, new_child.get('name')) if src : new_child.set('src','data:image/gif;base64,%s'%src) + else : + new_child.getparent().remove(new_child) new_child.text = utils._process_text(self, child.text) self._node = copy.deepcopy(self.etree) for n in self._node: |
