EPUB Output: Remove workaround for Adobe Digital Editions' faulty rendering of links in html. calibre no longer forces links to be blue and underlined

This commit is contained in:
Kovid Goyal 2010-06-15 20:27:18 -06:00
parent f79ae51397
commit 1fe90c2d53

View File

@ -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): # {{{