diff options
| author | Raphaël Valyi <rvalyi@gmail.com> | 2009-12-17 21:21:37 -0200 |
|---|---|---|
| committer | Raphaël Valyi <rvalyi@gmail.com> | 2009-12-17 21:21:37 -0200 |
| commit | a638f8aabaeadb053010ce150379824befe8006b (patch) | |
| tree | 859566f267c1a2413c92ff37cf6d58a49af4f88b /bin/report/render/html2html/html2html.py | |
| parent | 43d037de7b854ae4b0b4c2f01d232404333ed041 (diff) | |
| parent | 5d15a496b1daf1312526b8b0a7d3cc4eb14f465c (diff) | |
[MERGE]
bzr revid: rvalyi@gmail.com-20091217232137-y7gb1lvi3vyjbvtn
Diffstat (limited to 'bin/report/render/html2html/html2html.py')
| -rw-r--r-- | bin/report/render/html2html/html2html.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/report/render/html2html/html2html.py b/bin/report/render/html2html/html2html.py index 9acb25b5d28..dfd92a70b52 100644 --- a/bin/report/render/html2html/html2html.py +++ b/bin/report/render/html2html/html2html.py @@ -74,7 +74,7 @@ class html2html(object): return self._node def url_modify(self,root): - for n in root.getchildren(): + for n in root: if (n.text.find('<a ')>=0 or n.text.find('<a')>=0) and n.text.find('href')>=0 and n.text.find('style')<=0 : node = (n.tag=='span' and n.getparent().tag=='u') and n.getparent().getparent() or ((n.tag=='span') and n.getparent()) or n style = node.get('color') and "style='color:%s; text-decoration: none;'"%node.get('color') or '' |
