diff --git a/src/plugins/lib/libodfbackend.py b/src/plugins/lib/libodfbackend.py index a24e275a6..16dee4e7c 100644 --- a/src/plugins/lib/libodfbackend.py +++ b/src/plugins/lib/libodfbackend.py @@ -122,20 +122,17 @@ class OdfBackend(DocBackend): if tagtype not in self.SUPPORTED_MARKUP: return None if ( tagtype == DocBackend.FONTCOLOR ): - return ('' % - self.ESCAPE_FUNC()(value), + return ('' % value, '') elif ( tagtype == DocBackend.FONTFACE ): - return ('' % - self.ESCAPE_FUNC()(value), + return ('' % + self.ESCAPE_FUNC()(value), '') elif ( tagtype == DocBackend.FONTSIZE ): - return ('' % - self.ESCAPE_FUNC()(value), + return ('' % value, '') else: #elif ( tagtype == DocBackend.HIGHLIGHT ): - return ('' % - self.ESCAPE_FUNC()(value), + return ('' % value, '') def format_link(self, value):