From 6d93f94e80fe22f7692cdced4e8498192d3b98ff Mon Sep 17 00:00:00 2001
From: unkn0w7n <51942695+unkn0w7n@users.noreply.github.com>
Date: Thu, 10 Aug 2023 09:59:34 +0530
Subject: [PATCH] ...
---
recipes/bloomberg-business-week.recipe | 1 +
recipes/bloomberg.recipe | 1 +
2 files changed, 2 insertions(+)
diff --git a/recipes/bloomberg-business-week.recipe b/recipes/bloomberg-business-week.recipe
index 9c898a2f94..ddba5024d6 100644
--- a/recipes/bloomberg-business-week.recipe
+++ b/recipes/bloomberg-business-week.recipe
@@ -14,6 +14,7 @@ def get_contents(x):
return '' + x.get('value', '') + ''.join(map(get_contents, x.get('content', ''))) + ''
if 'emphasis' in x['attributes']:
return '' + x.get('value', '') + ''.join(map(get_contents, x.get('content', ''))) + ''
+ return x.get('value', '') + ''.join(map(get_contents, x.get('content', '')))
return x.get('value', '') + ''.join(map(get_contents, x.get('content', '')))
elif otype == 'br':
return '
'
diff --git a/recipes/bloomberg.recipe b/recipes/bloomberg.recipe
index 014a30cd8c..f41000cab9 100644
--- a/recipes/bloomberg.recipe
+++ b/recipes/bloomberg.recipe
@@ -15,6 +15,7 @@ def get_contents(x):
return '' + x.get('value', '') + ''.join(map(get_contents, x.get('content', ''))) + ''
if 'emphasis' in x['attributes']:
return '' + x.get('value', '') + ''.join(map(get_contents, x.get('content', ''))) + ''
+ return x.get('value', '') + ''.join(map(get_contents, x.get('content', '')))
return x.get('value', '') + ''.join(map(get_contents, x.get('content', '')))
elif otype == 'br':
return '
'