~therp-nl/openupgrade-server/6.0-lp1025797-dangling_references

« back to all changes in this revision

Viewing changes to bin/report/render/rml2pdf/utils.py

  • Committer: Stefan Rijnhart
  • Date: 2012-05-09 12:52:49 UTC
  • mfrom: (3475.1.142 openobject-server)
  • Revision ID: stefan@therp.nl-20120509125249-llcqw330h6u9xls0
[MRG] Merged with main

Show diffs side-by-side

added added

removed removed

Lines of Context:
130
130
                except Exception:
131
131
                    pass
132
132
                if isinstance(txt, basestring):
133
 
                    result += str2xml(txt)
 
133
                    result += txt
134
134
                elif txt and (txt is not None) and (txt is not False):
135
135
                    result += ustr(txt)
136
 
        return result
 
136
        return str2xml(result)
137
137
 
138
138
def text_get(node):
139
139
    return ''.join([ustr(n.text) for n in node])