* src/WriteXML.py (XmlWriter.write_note): Don't use format=0,
since it is the default. svn: r2563
This commit is contained in:
parent
969020dac2
commit
d3581ec7d2
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user