FB2: fix whitespace around footnotes.
authorMichał Górny <mgorny@gentoo.org>
Wed, 16 May 2012 05:03:48 +0000 (07:03 +0200)
committerMichał Górny <mgorny@gentoo.org>
Thu, 17 May 2012 07:20:46 +0000 (09:20 +0200)
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>