From ed2b5285687f7596835b9e7ca16aa9cba8aabed9 Mon Sep 17 00:00:00 2001 From: unkn0w7n <51942695+unkn0w7n@users.noreply.github.com> Date: Sun, 23 Jul 2023 11:45:03 +0530 Subject: [PATCH] ... --- recipes/bloomberg.recipe | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/recipes/bloomberg.recipe b/recipes/bloomberg.recipe index 8f510284cd..19eb87da8d 100644 --- a/recipes/bloomberg.recipe +++ b/recipes/bloomberg.recipe @@ -11,15 +11,15 @@ def get_contents(x): if otype == 'text': return x.get('value', '') elif otype == 'paragraph': - return '
' + x.get('value', '') + ''.join(map(get_contents, x.get('contents'))) + '
' + return '' + x.get('value', '') + ''.join(map(get_contents, x.get('content'))) + '
' elif otype == 'heading': - return '' + x.get('value', '') + ''.join(map(get_contents, x.get('contents'))) + '' + return '
' + x.get('value', '') + ''.join(map(get_contents, x.get('content'))) + '' elif otype == 'media': if x['subType'] == 'photo': return '