* src/GrampsDbUtils/_GedcomParser.py: fix a few bugs

svn: r8216
This commit is contained in:
Don Allingham
2007-02-23 06:03:02 +00:00
parent 7ea025b932
commit ee407ca871
5 changed files with 19 additions and 14 deletions

View File

@@ -1113,7 +1113,7 @@ class ODFDoc(BaseDoc.BaseDoc):
self.cntnt.write('<text:span text:style-name="F%s">' % para_name)
text = text.replace('\t','<text:tab-stop/>')
text = text.replace('\n','<text:line-break/>')
self.cntnt.write(text)
self.cntnt.write(escape(text))
self.cntnt.write('</text:span>')
self.cntnt.write('</text:p>\n')
self.cntnt.write('</draw:rect>\n')