mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
EPUB Output: Do not override any declared text-decoration CSS for <u> tags when auto-converting them to <span> (auto-conversion is needed to comply with the epub spec). Fixes #1278670 [strikeout and double underline from html to epub](https://bugs.launchpad.net/calibre/+bug/1278670)
This commit is contained in:
parent
e3b7d31a96
commit
07802d913c
@ -152,7 +152,6 @@ class EPUBOutput(OutputFormatPlugin):
|
||||
continue
|
||||
for u in XPath('//h:u')(root):
|
||||
u.tag = 'span'
|
||||
u.set('style', 'text-decoration:underline')
|
||||
|
||||
seen_ids, seen_names = set(), set()
|
||||
for x in XPath('//*[@id or @name]')(root):
|
||||
|
Loading…
x
Reference in New Issue
Block a user