From 8dcb895f79e74fecc4ec8b0245db21020fccd5cf Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 8 Mar 2009 21:47:48 -0700 Subject: [PATCH] Fix #2012 (epub output problems on PRS505) --- src/calibre/web/feeds/recipes/recipe_usatoday.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/calibre/web/feeds/recipes/recipe_usatoday.py b/src/calibre/web/feeds/recipes/recipe_usatoday.py index dd14cd01b4..ced927e721 100644 --- a/src/calibre/web/feeds/recipes/recipe_usatoday.py +++ b/src/calibre/web/feeds/recipes/recipe_usatoday.py @@ -45,3 +45,7 @@ class USAToday(BasicNewsRecipe): def print_version(self, url): return 'http://www.printthis.clickability.com/pt/printThis?clickMap=printThis&fb=Y&url=' + url + def postprocess_html(self, soup, first_fetch): + for t in soup.findAll(['table', 'tr', 'td']): + t.name = 'div' + return soup \ No newline at end of file