This commit is contained in:
Kovid Goyal 2019-08-06 07:03:18 +05:30
parent cbd40617f3
commit bb03370e5a
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 2 additions and 2 deletions

View File

@ -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):

View File

@ -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: