From: Michał Górny <mgorny@gentoo.org>
Date: Wed, 16 May 2012 05:03:48 +0000 (+0200)
Subject: FB2: fix whitespace around footnotes.
X-Git-Tag: 1.7~155^2
X-Git-Url: https://git.mdrn.pl/librarian.git/commitdiff_plain/30aeb8412da3bb4d9dfc7f659f94fd64f5e26876?ds=sidebyside;hp=--cc

FB2: fix whitespace around footnotes.
---

30aeb8412da3bb4d9dfc7f659f94fd64f5e26876
diff --git a/librarian/fb2/footnotes.xslt b/librarian/fb2/footnotes.xslt
index 663b2a3..37f467f 100644
--- a/librarian/fb2/footnotes.xslt
+++ b/librarian/fb2/footnotes.xslt
@@ -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>