* src/WriteXML.py (XmlWriter.write_note): Don't use format=0,

since it is the default.


svn: r2563
This commit is contained in:
Don Allingham 2003-12-29 15:55:08 +00:00
parent 969020dac2
commit d3581ec7d2

View File

@ -389,7 +389,10 @@ class XmlWriter:
self.g.write(" " * indent)
format = noteobj.getFormat()
self.g.write('<%s format="%d">' % (val,format))
if format:
self.g.write('<%s format="%d">' % (val,format))
else:
self.g.write('<%s>' % val)
self.g.write(self.fix(string.rstrip(text)))
self.g.write("</%s>\n" % val)