Fix to convert note text str to unicode (cuni)
svn: r23388
This commit is contained in:
parent
da1eadacd6
commit
1814c41c9a
@ -457,7 +457,7 @@ class GrampsXmlWriter(UpdateCallback):
|
|||||||
format = note.get_format()
|
format = note.get_format()
|
||||||
text = note.get_styledtext()
|
text = note.get_styledtext()
|
||||||
styles = text.get_tags()
|
styles = text.get_tags()
|
||||||
text = str(text)
|
text = cuni(text)
|
||||||
|
|
||||||
self.g.write(' type="%s"' % ntype)
|
self.g.write(' type="%s"' % ntype)
|
||||||
if format != note.FLOWED:
|
if format != note.FLOWED:
|
||||||
|
Loading…
Reference in New Issue
Block a user