2003-08-19 Tim Waugh <twaugh@redhat.com>
* src/docgen/OpenDrawDoc.py: Fixed escaping. svn: r2028
This commit is contained in:
parent
36c79fc884
commit
23d43ce3de
@ -1,3 +1,6 @@
|
|||||||
|
2003-08-19 Tim Waugh <twaugh@redhat.com>
|
||||||
|
* src/docgen/OpenDrawDoc.py: Fixed escaping.
|
||||||
|
|
||||||
2003-08-19 Alex Roitman <shura@alex.neuro.umn.edu>
|
2003-08-19 Alex Roitman <shura@alex.neuro.umn.edu>
|
||||||
* src/gramps_main.py (build_backhistmenu,build_fwdhistmenu):
|
* src/gramps_main.py (build_backhistmenu,build_fwdhistmenu):
|
||||||
Add a limit of 20 for the Back/Forward history popup menus.
|
Add a limit of 20 for the Back/Forward history popup menus.
|
||||||
|
@ -375,10 +375,10 @@ class OpenDrawDoc(DrawDoc.DrawDoc):
|
|||||||
|
|
||||||
def write_text(self,text):
|
def write_text(self,text):
|
||||||
text = text.replace('&','&'); # Must be first
|
text = text.replace('&','&'); # Must be first
|
||||||
text = text.replace('\t','<text:tab-stop/>')
|
|
||||||
text = text.replace('\n','<text:line-break/>')
|
|
||||||
text = text.replace('<','<');
|
text = text.replace('<','<');
|
||||||
text = text.replace('>','>');
|
text = text.replace('>','>');
|
||||||
|
text = text.replace('\t','<text:tab-stop/>')
|
||||||
|
text = text.replace('\n','<text:line-break/>')
|
||||||
text = text.replace('<super>','<text:span text:style-name="GSuper">')
|
text = text.replace('<super>','<text:span text:style-name="GSuper">')
|
||||||
text = text.replace('</super>','</text:span>')
|
text = text.replace('</super>','</text:span>')
|
||||||
self.f.write(text)
|
self.f.write(text)
|
||||||
|
Loading…
Reference in New Issue
Block a user