PML Input: Remove emtpy lines.

This commit is contained in:
John Schember 2010-09-11 09:09:08 -04:00
parent dc7bc5dd5d
commit c2b3c445e1

View File

@ -207,6 +207,7 @@ class PML_HTMLizer(object):
while html != old:
old = html
html = self.cleanup_html_remove_redundant(html)
html = re.sub(r'(?imu)^\s*', '', html)
return html
def cleanup_html_remove_redundant(self, html):