PROPERLY escape ampersands in ODFDoc.py
svn: r8406
This commit is contained in:
parent
5face56141
commit
1c2514d9b2
@ -1,3 +1,6 @@
|
||||
2007-04-19 Brian Matherly <brian@gramps-project.org>
|
||||
* src/docgen/ODFDoc.py: PROPERLY escape ampersands
|
||||
|
||||
2007-04-19 Martin Hawlisch <Martin.Hawlisch@gmx.de>
|
||||
* src/DisplayModels/_NoteModel.py: colorize using marker
|
||||
|
||||
|
@ -998,7 +998,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