From 4e61dea28392850b9bf95fe8bbaa3a865f4e557e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Mateus?= Date: Mon, 25 Dec 2017 23:56:46 +0000 Subject: [PATCH] Fixed New Yorker Magazine recipe The XHTML produced by the recipe had an ill-formed XHTML that, when converted to KEPUB, was not properly parsed on Kobo devices. --- recipes/new_yorker.recipe | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes/new_yorker.recipe b/recipes/new_yorker.recipe index 0236b60b25..b4746cfdbd 100644 --- a/recipes/new_yorker.recipe +++ b/recipes/new_yorker.recipe @@ -57,6 +57,7 @@ class NewYorker(BasicNewsRecipe): classes('content-ad-wrapper social-hover background-image'), dict(id=['newsletter-signup']), dict(attrs={'class': lambda x: x and 'ImageEmbed__button___' in x}), + dict(attrs={'class': lambda x: x and 'ArticleLedeImage__button___' in x}), dict(name='links source'.split()), ] remove_attributes = ['style']