mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -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:
parent
51d974c8e2
commit
39afea253c
@ -254,6 +254,17 @@
|
|||||||
<xsl:template match="fb:empty-line">
|
<xsl:template match="fb:empty-line">
|
||||||
<br/>
|
<br/>
|
||||||
</xsl:template>
|
</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 -->
|
<!-- link -->
|
||||||
<xsl:template match="fb:a">
|
<xsl:template match="fb:a">
|
||||||
<xsl:element name="a">
|
<xsl:element name="a">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user