[Mobi] Fix for inconsistent styles between on-line reader and Mobi.
[librarian.git] / librarian / epub / xsltAnnotations.xsl
index f3e6443..2deef8d 100644 (file)
@@ -34,7 +34,7 @@
     <div xmlns="http://www.w3.org/1999/xhtml" class="annotation">
       <p id="annotation-{@number}" xmlns="http://www.w3.org/1999/xhtml"></p>
       <a class="annotation-anchor" href="part{@part}.html#anchor-{@number}" xmlns="http://www.w3.org/1999/xhtml">
     <div xmlns="http://www.w3.org/1999/xhtml" class="annotation">
       <p id="annotation-{@number}" xmlns="http://www.w3.org/1999/xhtml"></p>
       <a class="annotation-anchor" href="part{@part}.html#anchor-{@number}" xmlns="http://www.w3.org/1999/xhtml">
-        [<xsl:value-of select="@number" />]
+        <sup xmlns="http://www.w3.org/1999/xhtml"><xsl:value-of select="@number" /></sup>
       </a>
       <p class="annotation-body" xmlns="http://www.w3.org/1999/xhtml">
         <xsl:apply-templates />
       </a>
       <p class="annotation-body" xmlns="http://www.w3.org/1999/xhtml">
         <xsl:apply-templates />