PLM Input: Fix cleanup code.

This commit is contained in:
John Schember 2010-09-11 08:48:47 -04:00
parent 86e68579f3
commit 96478da323

View File

@ -216,7 +216,7 @@ class PML_HTMLizer(object):
html = re.sub(r'(?u)%s\s*%s' % (open % '.*?', close), '', html)
else:
html = re.sub(r'(?u)%s\s*%s' % (open, close), '', html)
html = re.sub(r'<p>\s*</p>', '', html)
html = re.sub(r'(?imu)<p>\s*</p>', '', html)
return html
def start_line(self):