mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
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:
parent
486389113a
commit
231a573e92
@ -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>'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user