mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
cbd40617f3
commit
bb03370e5a
@ -325,7 +325,7 @@ class WebView(RestartingWebEngineView):
|
||||
self.pending_bridge_ready_actions[action] = args
|
||||
|
||||
def show_preparing_message(self):
|
||||
msg = _('Preparing book for reading, please wait…')
|
||||
msg = _('Preparing book for first read, please wait…')
|
||||
self.execute_when_ready('show_preparing_message', msg)
|
||||
|
||||
def set_session_data(self, key, val):
|
||||
|
@ -443,7 +443,7 @@ def serialize_elem(elem, nsmap):
|
||||
ns, name = None, 'epub-' + name
|
||||
if nl == 'meta':
|
||||
return # Filter out <meta> tags as they have unknown side-effects
|
||||
if name.lower() in {'img', 'script', 'link', 'image', 'style'}:
|
||||
if nl in {'img', 'script', 'link', 'image', 'style'}:
|
||||
name = nl
|
||||
ans = {'n':name}
|
||||
if elem.text:
|
||||
|
Loading…
x
Reference in New Issue
Block a user