diff --git a/src/calibre/ebooks/epub/output.py b/src/calibre/ebooks/epub/output.py index ee779aaefa..8708b98d97 100644 --- a/src/calibre/ebooks/epub/output.py +++ b/src/calibre/ebooks/epub/output.py @@ -385,14 +385,6 @@ class EPUBOutput(OutputFormatPlugin): if val and not pval: rule.style.setProperty('padding-left', val) - if stylesheet is not None: - stylesheet.data.add('a { color: inherit; text-decoration: inherit; ' - 'cursor: default; }') - stylesheet.data.add('a[href] { color: blue; ' - 'text-decoration: underline; cursor:pointer; }') - else: - self.oeb.log.warn('No stylesheet found') - # }}} def workaround_sony_quirks(self): # {{{