mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #5888 (Removing a footer when converting from pdf to epub doesn't work)
This commit is contained in:
parent
cb44c2126f
commit
ffd3b62049
@ -280,7 +280,7 @@ class HTMLPreProcessor(object):
|
|||||||
|
|
||||||
if getattr(self.extra_opts, 'remove_footer', None):
|
if getattr(self.extra_opts, 'remove_footer', None):
|
||||||
try:
|
try:
|
||||||
rules.insert(0
|
rules.insert(0,
|
||||||
(re.compile(self.extra_opts.footer_regex), lambda match : '')
|
(re.compile(self.extra_opts.footer_regex), lambda match : '')
|
||||||
)
|
)
|
||||||
except:
|
except:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user