mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-05-28 09:42:33 -04:00
FB2 Input: Add support for super and sub scripts. Fixes #9018 (FB2 → Another format; missing supescript and subscript tags)
This commit is contained in:
@@ -254,6 +254,17 @@
|
||||
<xsl:template match="fb:empty-line">
|
||||
<br/>
|
||||
</xsl:template>
|
||||
<!-- super/sub-scripts -->
|
||||
<xsl:template match="fb:sup">
|
||||
<sup>
|
||||
<xsl:apply-templates/>
|
||||
</sup>
|
||||
</xsl:template>
|
||||
<xsl:template match="fb:sub">
|
||||
<sub>
|
||||
<xsl:apply-templates/>
|
||||
</sub>
|
||||
</xsl:template>
|
||||
<!-- link -->
|
||||
<xsl:template match="fb:a">
|
||||
<xsl:element name="a">
|
||||
|
||||
Reference in New Issue
Block a user