mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
HTML Input: Fix the presence of BookDesigner markup causing conversion to fail. Fixes #1936792 [Html conversion BookTitle](https://bugs.launchpad.net/calibre/+bug/1936792)
This commit is contained in:
parent
b3a3859dd8
commit
c5320420a9
@ -452,7 +452,7 @@ def book_designer_rules():
|
||||
(re.compile('<span[^><]*?id=subtitle[^><]*?>(.*?)</span>', re.IGNORECASE|re.DOTALL),
|
||||
lambda match : '<h3 class="subtitle">%s</h3>'%(match.group(1),)),
|
||||
]
|
||||
return None
|
||||
return ans
|
||||
|
||||
|
||||
class HTMLPreProcessor(object):
|
||||
|
Loading…
x
Reference in New Issue
Block a user