diff --git a/src/calibre/ebooks/lrf/html/convert_from.py b/src/calibre/ebooks/lrf/html/convert_from.py index 6533c6554b..9ffb9e6398 100644 --- a/src/calibre/ebooks/lrf/html/convert_from.py +++ b/src/calibre/ebooks/lrf/html/convert_from.py @@ -1519,7 +1519,8 @@ class HTMLConverter(object, LoggingInterface): css, pcss = self.parse_css(text) ncss.update(css) npcss.update(pcss) - elif tag.has_key('type') and tag['type'] == "text/css" \ + elif tag.has_key('type') \ + and tag['type'] in ("text/css", "text/x-oeb1-css") \ and tag.has_key('href'): path = munge_paths(self.target_prefix, tag['href'])[0] try: