Fix for missing xml declaration of content.opf and toc.ncx
[librarian.git] / librarian / epub / xsltScheme.xsl
index 3ddcf97..d2d7871 100644 (file)
   <xsl:template match="extra" />
 
   <xsl:template match="pe|pa|pr|pt" >
-    <a id="anchor-{.}" class="anchor" href="annotations.html#annotation-{.}"
-       xmlns="http://www.w3.org/1999/xhtml">[<xsl:apply-templates />]</a>
+    <a class="anchor" id="anchor-{.}" href="annotations.html#annotation-{.}"
+       xmlns="http://www.w3.org/1999/xhtml"><sup xmlns="http://www.w3.org/1999/xhtml"><xsl:apply-templates /></sup></a>
   </xsl:template>
 
   <xsl:template match="uwaga" />