bug 9445; fix XML export of notes so lead/trail spaces are preserved (#379)
This commit is contained in:
parent
98238c7112
commit
2974f82aad
@ -511,7 +511,7 @@ class GrampsXmlWriter(UpdateCallback):
|
|||||||
self.g.write(' ' * indent)
|
self.g.write(' ' * indent)
|
||||||
|
|
||||||
self.g.write('<%s>' % val)
|
self.g.write('<%s>' % val)
|
||||||
self.g.write(self.fix(text.rstrip()))
|
self.g.write(escxml(str(text).translate(strip_dict)))
|
||||||
self.g.write("</%s>\n" % val)
|
self.g.write("</%s>\n" % val)
|
||||||
|
|
||||||
def write_person(self,person,index=1):
|
def write_person(self,person,index=1):
|
||||||
|
Loading…
Reference in New Issue
Block a user