diff --git a/recipes/1843.recipe b/recipes/1843.recipe index fb3c729e03..44921e5d24 100644 --- a/recipes/1843.recipe +++ b/recipes/1843.recipe @@ -107,6 +107,12 @@ def process_web_node(node): elif node.get('textJson'): return f'
{parse_textjson(node["textJson"])}
' return f'
{node.get("text", "")}
' + elif ntype == 'BLOCK_QUOTE': + if node.get('textHtml'): + return f'
{node.get("textHtml")}
' + elif node.get('textJson'): + return f'
{parse_textjson(node["textJson"])}
' + return f'
{node.get("text", "")}
' elif ntype == 'DIVIDER': return '
' elif ntype == 'INFOGRAPHIC': diff --git a/recipes/economist_news.recipe b/recipes/economist_news.recipe index 7962a9067f..af6747e721 100644 --- a/recipes/economist_news.recipe +++ b/recipes/economist_news.recipe @@ -109,6 +109,12 @@ def process_web_node(node): elif node.get('textJson'): return f'
{parse_textjson(node["textJson"])}
' return f'
{node.get("text", "")}
' + elif ntype == 'BLOCK_QUOTE': + if node.get('textHtml'): + return f'
{node.get("textHtml")}
' + elif node.get('textJson'): + return f'
{parse_textjson(node["textJson"])}
' + return f'
{node.get("text", "")}
' elif ntype == 'DIVIDER': return '
' elif ntype == 'INFOGRAPHIC':