From f468a0c4fd0e970a07444ebd75ac10daf6f8524b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20D=C5=82ugosz?= Date: Wed, 19 Feb 2014 23:29:18 +0100 Subject: [PATCH] improve image captions further --- recipes/gosc_full.recipe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/gosc_full.recipe b/recipes/gosc_full.recipe index 7d24505cbd..614a31f232 100644 --- a/recipes/gosc_full.recipe +++ b/recipes/gosc_full.recipe @@ -81,7 +81,7 @@ class GN(BasicNewsRecipe): for r in soup.findAll(attrs={'class':['di_dr', 'doc_image']}): del r['style'] for r in soup.findAll(attrs={'class':'cm-i-a'}): - r.replaceWith( r.prettify() + '
') + r.replaceWith( '
' + r.prettify() + '
') return soup keep_only_tags = [