Merge pull request #3 from mgorny/fb2
authorMarcin Kozey <marcin@lolownia.org>
Thu, 24 May 2012 08:40:38 +0000 (01:40 -0700)
committerMarcin Kozey <marcin@lolownia.org>
Thu, 24 May 2012 08:40:38 +0000 (01:40 -0700)
FB2: fix whitespace around footnotes.

librarian/fb2/footnotes.xslt

index 663b2a3..37f467f 100644 (file)
@@ -31,7 +31,9 @@
                        <xsl:attribute name="type">note</xsl:attribute>
                        <xsl:attribute name="l:href">#fn<xsl:value-of select="$n"/></xsl:attribute>
 
-                       [<xsl:value-of select="$n"/>]
+                       <xsl:text>[</xsl:text>
+                       <xsl:value-of select="$n"/>
+                       <xsl:text>]</xsl:text>
                </xsl:element>
        </xsl:template>
 </xsl:stylesheet>