mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
b494e6a966
commit
3af1c37f8f
@ -43,8 +43,11 @@ def process_node(node):
|
|||||||
if node.get('textHtml'):
|
if node.get('textHtml'):
|
||||||
return f'<blockquote>{node.get("textHtml")}</blockquote>'
|
return f'<blockquote>{node.get("textHtml")}</blockquote>'
|
||||||
return f'<blockquote>{node.get("text", "")}</blockquote>'
|
return f'<blockquote>{node.get("text", "")}</blockquote>'
|
||||||
|
elif ntype == 'DIVIDER':
|
||||||
|
return '<br>'
|
||||||
elif ntype:
|
elif ntype:
|
||||||
print('** ', ntype)
|
print('** ', ntype)
|
||||||
|
return ''
|
||||||
|
|
||||||
def safe_dict(data, *names):
|
def safe_dict(data, *names):
|
||||||
ans = data
|
ans = data
|
||||||
|
Loading…
x
Reference in New Issue
Block a user