From 165f5ccff456b4647ef9935c6d819a0809411404 Mon Sep 17 00:00:00 2001 From: unkn0w7n <51942695+unkn0w7n@users.noreply.github.com> Date: Sun, 14 Apr 2024 19:27:35 +0530 Subject: [PATCH] Update NatGeo --- recipes/natgeo.recipe | 4 ++-- recipes/natgeohis.recipe | 4 ++-- recipes/natgeomag.recipe | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/recipes/natgeo.recipe b/recipes/natgeo.recipe index 69ceeef02c..cdcc896e42 100644 --- a/recipes/natgeo.recipe +++ b/recipes/natgeo.recipe @@ -54,7 +54,7 @@ def parse_inline(inl): yield '
'.format(props['image']['src']) if 'caption' in props: yield '
{}{}
'.format( - props['caption']['text'], ' ' + props['caption']['credit'] + props['caption'].get('text', ''), ' ' + props['caption'].get('credit', '') ) yield '

' if inl.get('content', {}).get('name', '') == 'ImageGroup': @@ -65,7 +65,7 @@ def parse_inline(inl): yield '
'.format(imgs['src']) if 'caption' in imgs: yield '
{}{}
'.format( - imgs['caption']['text'], ' ' + imgs['caption']['credit'] + imgs['caption'].get('text', ''), ' ' + imgs['caption'].get('credit', '') ) yield '

' diff --git a/recipes/natgeohis.recipe b/recipes/natgeohis.recipe index 1009102203..0bf60aa91c 100644 --- a/recipes/natgeohis.recipe +++ b/recipes/natgeohis.recipe @@ -53,7 +53,7 @@ def parse_inline(inl): yield '
'.format(props['image']['src']) if 'caption' in props: yield '
{}{}
'.format( - props['caption']['text'], ' ' + props['caption']['credit'] + props['caption'].get('text', ''), ' ' + props['caption'].get('credit', '') ) yield '

' if inl.get('content', {}).get('name', '') == 'ImageGroup': @@ -64,7 +64,7 @@ def parse_inline(inl): yield '
'.format(imgs['src']) if 'caption' in imgs: yield '
{}{}
'.format( - imgs['caption']['text'], ' ' + imgs['caption']['credit'] + imgs['caption'].get('text', ''), ' ' + imgs['caption'].get('credit', '') ) yield '

' diff --git a/recipes/natgeomag.recipe b/recipes/natgeomag.recipe index 1df5c71618..01b3fd95d3 100644 --- a/recipes/natgeomag.recipe +++ b/recipes/natgeomag.recipe @@ -58,7 +58,7 @@ def parse_inline(inl): yield '
'.format(props['image']['src']) if 'caption' in props: yield '
{}{}
'.format( - props['caption']['text'], ' ' + props['caption']['credit'] + props['caption'].get('text', ''), ' ' + props['caption'].get('credit', '') ) yield '

' if inl.get('content', {}).get('name', '') == 'ImageGroup': @@ -69,7 +69,7 @@ def parse_inline(inl): yield '
'.format(imgs['src']) if 'caption' in imgs: yield '
{}{}
'.format( - imgs['caption']['text'], ' ' + imgs['caption']['credit'] + imgs['caption'].get('text', ''), ' ' + imgs['caption'].get('credit', '') ) yield '

'