X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/8fcab6b0a377deb7b2a143caf4af084bf6cd7a68..1b45c9a8c92e6ecc21e083dd6ed96ffe01e8728d:/librarian/epub/xsltAnnotations.xsl?ds=sidebyside diff --git a/librarian/epub/xsltAnnotations.xsl b/librarian/epub/xsltAnnotations.xsl index 2deef8d..5588d3e 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" 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"> - <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 /> - <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><xsl:if test="name()='pt'"> [przypis tÅumacza]</xsl:if><xsl:if test="name()='pr'"> [przypis redakcyjny]</xsl:if><xsl:if test="name()='pe'"> [przypis edytorski]</xsl:if></p> + <xsl:text>
</xsl:text> </xsl:template> <xsl:template match="slowo_obce">