5120: 'Export view' to odt file crashs (patch by PaulFranklin)
svn: r17985
This commit is contained in:
parent
a6879dbf62
commit
e43b3fa3f1
@ -385,6 +385,7 @@ class ODSTab(TabbedDoc):
|
|||||||
self.f.write('>\n')
|
self.f.write('>\n')
|
||||||
|
|
||||||
self.f.write('<text:p>')
|
self.f.write('<text:p>')
|
||||||
|
if text is not None: # it must not be just 'if text'
|
||||||
text = text.replace('&','&') # Must be first
|
text = text.replace('&','&') # Must be first
|
||||||
text = text.replace('<','<')
|
text = text.replace('<','<')
|
||||||
text = text.replace('>','>')
|
text = text.replace('>','>')
|
||||||
|
Loading…
Reference in New Issue
Block a user