This commit is contained in:
Kovid Goyal 2007-05-13 13:40:53 +00:00
parent 81b81b4ae8
commit 2b67c7548f

View File

@ -866,7 +866,7 @@ class HTMLConverter(object):
match = self.PAGE_BREAK_PAT.search(src) match = self.PAGE_BREAK_PAT.search(src)
if match and not re.match('avoid', match.group(1), re.IGNORECASE): if match and not re.match('avoid', match.group(1), re.IGNORECASE):
self.page_break_found = True self.page_break_found = True
ncss = self.parse_css(f.read()) ncss = self.parse_css(src)
except IOError: except IOError:
pass pass
if ncss: if ncss: