From 9ed24c79f05c4f72f1bdaf82fd19cff63a34477d Mon Sep 17 00:00:00 2001 From: "Marshall T. Vandegrift" Date: Sat, 10 Jan 2009 00:36:42 -0500 Subject: [PATCH] Unify with changed push to "staging." --- src/calibre/ebooks/html.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/calibre/ebooks/html.py b/src/calibre/ebooks/html.py index f2338ffdff..c938847051 100644 --- a/src/calibre/ebooks/html.py +++ b/src/calibre/ebooks/html.py @@ -806,7 +806,8 @@ class Processor(Parser): break else: faces.append('serif') - setting += 'font-family:%s;'% ', '.join(faces) + family = ', '.join(faces) + setting += 'font-family: %s;' % family color = font.attrib.pop('color', None) if color is not None: setting += 'color:%s'%color