From d3c412512b17c7f7be4165c78bd50ec09600904c Mon Sep 17 00:00:00 2001 From: "Craig J. Anderson" Date: Thu, 21 Jun 2012 20:52:19 +0000 Subject: [PATCH] fix for 5851 (part 4) svn: r19895 --- src/plugins/lib/libcairodoc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/lib/libcairodoc.py b/src/plugins/lib/libcairodoc.py index 7638e5c61..ba94b4005 100644 --- a/src/plugins/lib/libcairodoc.py +++ b/src/plugins/lib/libcairodoc.py @@ -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): """