[SNBOutput] Add two spaces for each paragraph.

This commit is contained in:
Li Fanxi 2010-10-10 11:27:27 +08:00
parent 0d5782e3bf
commit 6a301a1a9a

View File

@ -157,4 +157,4 @@ class SNBMLizer(object):
if t.find(CLIABRE_SNB_IMG_TAG) == 0: if t.find(CLIABRE_SNB_IMG_TAG) == 0:
etree.SubElement(trees[self.curSubItem], "img").text = t[len(CLIABRE_SNB_IMG_TAG):] etree.SubElement(trees[self.curSubItem], "img").text = t[len(CLIABRE_SNB_IMG_TAG):]
else: else:
etree.SubElement(trees[self.curSubItem], "text").text = etree.CDATA(unicode('' + t)) etree.SubElement(trees[self.curSubItem], "text").text = etree.CDATA(unicode(u'\u3000\u3000' + t))