Textile output: Fix issue with blockquotes and having sentences getting removed.

This commit is contained in:
John Schember 2012-03-07 08:28:59 -05:00
parent a5c9bab0ab
commit 5e64057835

View File

@ -106,7 +106,7 @@ class TextileMLizer(OEB2HTML):
#correct blockcode paras
text = re.sub(r'\npre\.\n?\nbc\.', r'\nbc.', text)
#correct blockquote paras
text = re.sub(r'\nbq\.\n?\np.*\. ', r'\nbq. ', text)
text = re.sub(r'\nbq\.\n?\np.*?\. ', r'\nbq. ', text)
#reduce blank lines
text = re.sub(r'\n{3}', r'\n\np. \n\n', text)