strikeout and double underline from html to epub

Bug #1278670 reported by ivo welch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
Unassigned

Bug Description

<!DOCTYPE html>
<html>
<head>
 <meta charset="utf-8" />

<style>
  u { text-decoration:underline; }
  u.uline { text-decoration:underline; }
  u.uuline { text-decoration:underline; border-bottom: 2px solid #000; }
  u.sout { text-decoration:line-through; }
</style>

</head>

<body>

Please try <u>uline for underline</u>, <u class="uuline">uuline for double underline</u>, and <u class="sout">sout for strikeout</u>.

</body>
</html>

convert to epub and the text-decorations are lost.

Revision history for this message
Kovid Goyal (kovid) wrote : Re: calibre bug 1278670

Dont use <u> (it is disallowd in XHTML) use <span>.

 status wontfix

Changed in calibre:
status: New → Won't Fix
Revision history for this message
Kovid Goyal (kovid) wrote :

Actually, I can probably fix the auto conversion of <u> to <span> in
epub to not overwrite the declared styles.

Revision history for this message
Kovid Goyal (kovid) wrote : Fixed in master

Fixed in branch master. The fix will be in the next release. calibre is usually released every Friday.

 status fixreleased

Changed in calibre:
status: Won't Fix → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.