mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-23 04:55:35 +01: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
1 changed files with 0 additions and 1 deletions
|
|
@ -152,7 +152,6 @@ def upshift_markup(self): # {{{
|
|||
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…
Reference in a new issue