[epub, mobi] - xsl output impovements required for better annotation visual renderin...
authorRobert Błaut <listy@blaut.biz>
Thu, 27 Mar 2014 08:21:00 +0000 (09:21 +0100)
committerRobert Błaut <listy@blaut.biz>
Thu, 27 Mar 2014 08:21:00 +0000 (09:21 +0100)
librarian/epub/xsltAnnotations.xsl

index faba10f..7d270b4 100644 (file)
   </xsl:template>
 
   <xsl:template match="pa|pe|pr|pt" mode="przypis">
-    <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>
+    <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>&#xa;</xsl:text>
   </xsl:template>
 
   <xsl:template match="slowo_obce">