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:
Kovid Goyal 2014-02-11 08:12:45 +05:30
parent e3b7d31a96
commit 07802d913c

View File

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