fix for 5851 (part 4)

svn: r19895
This commit is contained in:
Craig J. Anderson 2012-06-21 20:52:19 +00:00
parent e0193098a0
commit d3c412512b

View File

@ -1439,7 +1439,8 @@ class CairoDoc(BaseDoc, TextDoc, DrawDoc):
# calls. This way we save the markup created by the report
# The markup in the note editor is not in the text so is not
# considered. It must be added by pango too
return self._backend.ESCAPE_FUNC()(text)
text = self._backend.ESCAPE_FUNC()(text)
return text
def __write_text(self, text, mark=None, markup=False, links=False):
"""