mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-21 16:55:07 -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:
parent
8562792345
commit
6a9796b71a
2
xep.xsl
2
xep.xsl
@ -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)'/>
|
||||||
|
Loading…
Reference in New Issue
Block a user