View Single Post
Old 07-15-2019, 03:51 PM   #1
MistaPrime
Member
MistaPrime began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jul 2019
Device: EPUB
HTML to EPUB, how to keep classes?

We have foot notes that are links:

Code:
<a name="txt51" id="txt51"></a><a class="footnote" href="#ftn51" title="Note 51">51</a>
However the conversion removes the class footnote from the link.

The class is needed because the number 51 is a <sup> tag but made only using CSS.

If the class is removed it is not possible to style the link anymore to be a <sup>.

Is there any way from stopping Calibre from removing specific classes?
MistaPrime is offline