diff --git a/src/calibre/ebooks/mobi/mobiml.py b/src/calibre/ebooks/mobi/mobiml.py index 7cda4b0a57..4af7fdbf2c 100644 --- a/src/calibre/ebooks/mobi/mobiml.py +++ b/src/calibre/ebooks/mobi/mobiml.py @@ -473,7 +473,7 @@ class MobiMLizer(object): if tag in TABLE_TAGS and self.ignore_tables: tag = 'span' if tag == 'td' else 'div' - if tag == 'table': + if tag in ('table', 'td', 'tr'): col = style.backgroundColor if col: elem.set('bgcolor', col)