<xsl:variable name="title">
<xsl:apply-templates select="." mode="object.title.markup"/>
</xsl:variable>
- <xsl:value-of select="$title"/>
+ <xsl:value-of select="normalize-space($title)"/>
</xsl:template>
<!-- ============================================================ -->
<xsl:attribute name="href">
<xsl:value-of select="concat('ln-',$id,$html.ext)"/>
</xsl:attribute>
- <xsl:variable name="contents">
- <xsl:apply-templates select="(//legalnotice)[1]" mode="object.title.markup.textonly"/>
- </xsl:variable>
<xsl:attribute name="title">
- <xsl:value-of select="normalize-space($contents)"/>
+ <xsl:apply-templates select="(//legalnotice)[1]"
+ mode="object.title.markup.textonly"/>
</xsl:attribute>
</link>
<xsl:call-template name="make.legalnotice.head.links">
<xsl:template name="formal.object.heading">
<xsl:param name="object" select="."/>
<xsl:param name="title">
- <bold><xsl:apply-templates select="$object" mode="object.title.markup"/></bold>
+ <bold><xsl:apply-templates select="$object" mode="object.title.markup.textonly"/></bold>
</xsl:param>
<xsl:apply-templates mode="bold" select="exsl:node-set($title)"/>
</xsl:template>
<xsl:param name="source"/>
<xsl:param name="title">
<xsl:if test="local-name(.) = 'table'">
- <xsl:apply-templates select="." mode="object.title.markup"/>
+ <xsl:apply-templates select="." mode="object.title.markup.textonly"/>
</xsl:if>
</xsl:param>
<!-- * ============================================================== -->