1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-24 02:02:16 -05:00

biblatex: fix superfluous line break in bibtex-citekey-postfix

In case the XEP has not yet a shortname assigned, the transformation
would add a superfluous line break in the postfix due a missing
<xsl:text> element.
This commit is contained in:
Florian Schmaus 2021-04-14 19:32:11 +02:00
parent 8562792345
commit 6a9796b71a

View File

@ -495,7 +495,7 @@ content: "XEP-<xsl:value-of select='/xep/header/number'/>";
<xsl:variable name="bibtex-citekey-postfix"> <xsl:variable name="bibtex-citekey-postfix">
<xsl:choose> <xsl:choose>
<xsl:when test='/xep/header/shortname = "NOT_YET_ASSIGNED"'> <xsl:when test='/xep/header/shortname = "NOT_YET_ASSIGNED"'>
xep<xsl:value-of select='/xep/header/number'/> <xsl:text>xep</xsl:text><xsl:value-of select='/xep/header/number'/>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<xsl:value-of select='translate(/xep/header/shortname, $uppercase, $lowercase)'/> <xsl:value-of select='translate(/xep/header/shortname, $uppercase, $lowercase)'/>