Fixed missing whitespace around title elements in HTML.
1 parent f6bc9b2 commit 50d3774d76e4a4cecdd57259c897106cfc94a287
Nigel Stanger authored on 23 Jul 2013
Showing 1 changed file
View
4
modules/titling.xml
</xsl:when>
</xsl:choose>
</xsl:if>
<xsl:call-template name="PaperCode" />
<xsl:text> </xsl:text>
<xsl:value-of select="concat( upper-case( substring( /document/@class, 1, 1 ) ), substring( /document/@class, 2 ) ) " />
<xsl:text> </xsl:text>
<xsl:value-of select="/document/@sequence-number" />
<!-- If the title's empty, there's no point in including the ": ". -->
<xsl:if test="node()">
<xsl:text>: </xsl:text>
</xsl:when>
</xsl:choose>
</xsl:if>
<xsl:call-template name="PaperCode" />
<xsl:text> </xsl:text>
<xsl:value-of select="concat( upper-case( substring( /document/@class, 1, 1 ) ), substring( /document/@class, 2 ) ) " />
<xsl:text> </xsl:text>
<xsl:value-of select="/document/@sequence-number" />
<!-- If the title's empty, there's no point in including the ": ". -->
<xsl:if test="node()">
<xsl:text>: </xsl:text>