From 9500e4489c0290df2a872c7a74f06db1b99a8d4c Mon Sep 17 00:00:00 2001 From: "Craig J. Anderson" Date: Thu, 21 Jun 2012 20:39:55 +0000 Subject: [PATCH] fix for 5851 svn: r19893 --- 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 5e3cf8853..2d65693fd 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): """