* src/docgen/OpenOfficeDoc.org: remove ^L and ^Z from output

svn: r4983
This commit is contained in:
Don Allingham 2005-07-31 04:22:43 +00:00
parent f447c086aa
commit d768deae74
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,6 @@
2005-07-30 Don Allingham <don@gramps-project.org>
* src/docgen/OpenOfficeDoc.org: remove ^L and ^Z from output
2005-07-29 Don Allingham <don@gramps-project.org>
* src/GrampsBSDDB.py: issue complete redraw on name grouping change
* src/Utils.py: use intermediate variable

View File

@ -707,6 +707,8 @@ class OpenOfficeDoc(BaseDoc.BaseDoc):
text = text.replace('&','&amp;') # Must be first
text = text.replace('<','&lt;')
text = text.replace('>','&gt;')
text = text.replace('\x1a','')
text = text.replace('\x0c','')
text = text.replace('\n','<text:line-break/>')
text = text.replace('&lt;super&gt;',
'<text:span text:style-name="GSuper">')