stop creating scene breaks on every page break when converting from pdf - forum thread http://www.mobileread.com/forums/showthread.php?t=181529

This commit is contained in:
Lee 2012-06-16 11:36:01 +08:00
parent 486389113a
commit 231a573e92

View File

@ -446,7 +446,7 @@ class HTMLPreProcessor(object):
# Remove page links
(re.compile(r'<a name=\d+></a>', re.IGNORECASE), lambda match: ''),
# Remove <hr> tags
(re.compile(r'<hr.*?>', re.IGNORECASE), lambda match: '<br>'),
(re.compile(r'<hr.*?>', re.IGNORECASE), lambda match: ''),
# Remove gray background
(re.compile(r'<BODY[^<>]+>'), lambda match : '<BODY>'),