From acf8b1a12e675950aad0c851d36829b74080a23b Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 29 Apr 2013 11:53:40 +0530 Subject: [PATCH] Fix #1174167 ("What if" recipe doesn't work) --- recipes/what_if.recipe | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/recipes/what_if.recipe b/recipes/what_if.recipe index 1d642353d2..de78e91dad 100644 --- a/recipes/what_if.recipe +++ b/recipes/what_if.recipe @@ -13,7 +13,7 @@ class XkcdCom(BasicNewsRecipe): use_embedded_content = False oldest_article = 60 # add image and text - # add an horizontal line after the question + # add an horizontal line after the question preprocess_regexps = [ (re.compile(r'()'), lambda m: '
%s%s

(%s)

' % (m.group(1), m.group(3), m.group(2))), @@ -22,3 +22,6 @@ class XkcdCom(BasicNewsRecipe): ] extra_css = "#photo_text{font-size:small;}" + + feeds = [(u'What If...', u'http://what-if.xkcd.com/feed.atom')] +