Fix issue with paragraph breaks on preformatted notes.
svn: r13684
This commit is contained in:
parent
06ca52e812
commit
f49f1059c0
@ -413,7 +413,7 @@ class BasePage(object):
|
|||||||
if format == 1:
|
if format == 1:
|
||||||
#preformatted, retain whitespace.
|
#preformatted, retain whitespace.
|
||||||
#so use \n\n for paragraph detection
|
#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:
|
elif format == 0:
|
||||||
#flowed, use \n\n for paragraph detection
|
#flowed, use \n\n for paragraph detection
|
||||||
|
Loading…
x
Reference in New Issue
Block a user