strikeout and double underline from html to epub

Bug #1278670 reported by ivo welch on 2014-02-11
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

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

  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; }



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


convert to epub and the text-decorations are lost.

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

 status wontfix

Changed in calibre:
status: New → Won't Fix
Kovid Goyal (kovid) wrote :

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

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  Edit
Everyone can see this information.

Other bug subscribers