Better Unicode handling in errors.
[librarian.git] / 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: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>
                </xsl:element>
        </xsl:template>
 </xsl:stylesheet>