X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/e93fbf2edc7fa6905dbcca3b2c6f6c76f306d71a..6511b439dadc8201e81ae932f8a015daf7a81fb8:/librarian/epub/xsltAnnotations.xsl diff --git a/librarian/epub/xsltAnnotations.xsl b/librarian/epub/xsltAnnotations.xsl index c66730a..7d270b4 100644 --- a/librarian/epub/xsltAnnotations.xsl +++ b/librarian/epub/xsltAnnotations.xsl @@ -31,16 +31,8 @@ </xsl:template> <xsl:template match="pa|pe|pr|pt" mode="przypis"> - <div xmlns="http://www.w3.org/1999/xhtml"> - <p id="annotation-{@number}" xmlns="http://www.w3.org/1999/xhtml"></p> - <a class="annotation" href="part{@part}.html#anchor-{@number}" xmlns="http://www.w3.org/1999/xhtml"> - [<xsl:value-of select="@number" />] - </a> - <p xmlns="http://www.w3.org/1999/xhtml"> - <xsl:apply-templates /> - <xsl:if test="name()='pa'"> [przypis autorski]</xsl:if> - </p> - </div> + <p id="annotation-{@number}" class="annotation" xmlns="http://www.w3.org/1999/xhtml"><a href="part{@part}.html#anchor-{@number}" xmlns="http://www.w3.org/1999/xhtml"><xsl:value-of select="@number" /></a>. <xsl:apply-templates /><xsl:if test="name()='pa'"> [przypis autorski]</xsl:if></p> + <xsl:text>
</xsl:text> </xsl:template> <xsl:template match="slowo_obce">