PROPERLY escape ampersands in ODFDoc.py
svn: r8405
This commit is contained in:
parent
49e2ef5267
commit
bd4fd1f9f8
@ -1,3 +1,6 @@
|
||||
2007-04-19 Brian Matherly <brian@gramps-project.org>
|
||||
* src/docgen/ODFDoc.py: PROPERLY escape ampersands
|
||||
|
||||
2007-04-18 Don Allingham <don@gramps-project.org>
|
||||
* src/plugins/BookReport.py: escape xml constructs (bug 877)
|
||||
* src/PluginUtils/_Options.py: escape xml constructs (bug 877)
|
||||
|
@ -995,7 +995,7 @@ class ODFDoc(BaseDoc.BaseDoc):
|
||||
self.cntnt.write('<text:p text:style-name="X%s"> ' % pname)
|
||||
|
||||
self.cntnt.write('<text:span text:style-name="F%s">\n' % pname)
|
||||
self.write_text('\n'.join(escape(text)))
|
||||
self.write_text(escape('\n'.join(text)))
|
||||
self.cntnt.write('</text:span>\n</text:p>\n</draw:text-box>\n')
|
||||
self.cntnt.write('</draw:frame>\n')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user