Fix issue with paragraph breaks on preformatted notes.

svn: r13684
This commit is contained in:
Gary Burton 2009-11-28 19:24:46 +00:00
parent 06ca52e812
commit f49f1059c0

View File

@ -413,7 +413,7 @@ class BasePage(object):
if format == 1:
#preformatted, retain whitespace.
#so use \n\n for paragraph detection
htmllist += Html("pre", indent=None) + markuptext.split('\n')
htmllist += Html("pre", indent=None) + markuptext.split('\n\n')
elif format == 0:
#flowed, use \n\n for paragraph detection