FB2 Input: Add support for super and sub scripts. Fixes #9018 (FB2 → Another format; missing supescript and subscript tags)

This commit is contained in:
Kovid Goyal 2011-02-17 10:36:13 -07:00
parent 51d974c8e2
commit 39afea253c

View File

@ -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">