mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
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:
parent
f79ae51397
commit
1fe90c2d53
@ -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): # {{{
|
||||
|
Loading…
x
Reference in New Issue
Block a user