diff --git a/src/calibre/ebooks/mobi/reader.py b/src/calibre/ebooks/mobi/reader.py index 4f894ce088..4aac84e599 100644 --- a/src/calibre/ebooks/mobi/reader.py +++ b/src/calibre/ebooks/mobi/reader.py @@ -573,6 +573,8 @@ class MobiReader(object): attrib[attr] = "%dpx"%int(nval) except: del attrib[attr] + elif val.lower().endswith('%'): + del attrib[attr] elif tag.tag == 'pre': if not tag.text: tag.tag = 'div'