This commit is contained in:
unkn0w7n 2024-11-27 23:26:36 +05:30
parent b494e6a966
commit 3af1c37f8f

View File

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