mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-02-11 08:05:04 +01:00
Correct an RTF bug if a size is given for supercript or subscript. Well now find a way to adjust font size.
This commit is contained in:
parent
5715d0fbc8
commit
8076d04ff2
1 changed files with 2 additions and 2 deletions
|
|
@ -284,7 +284,7 @@
|
|||
<xsl:value-of select="count(preceding::rtf:footnote) + 1"/>
|
||||
<xsl:text>]</xsl:text>
|
||||
</xsl:when>
|
||||
<xsl:when test="(@superscript = 'true')">
|
||||
<xsl:when test="(@superscript)">
|
||||
<xsl:element name="sup">
|
||||
<xsl:element name="span">
|
||||
<xsl:attribute name="class">
|
||||
|
|
@ -294,7 +294,7 @@
|
|||
</xsl:element>
|
||||
</xsl:element>
|
||||
</xsl:when>
|
||||
<xsl:when test="(@underscript = 'true')">
|
||||
<xsl:when test="(@underscript or @subscript)">
|
||||
<xsl:element name="sub">
|
||||
<xsl:element name="span">
|
||||
<xsl:attribute name="class">
|
||||
|
|
|
|||
Loading…
Reference in a new issue