* lists.xsl: Normalize space in itemizedlist/listitem.
* synop.xsl: Likewise.
<xsl:template match="itemizedlist/listitem">
<xsl:text>\(bu </xsl:text>
- <xsl:apply-templates mode="list"/>
+ <xsl:variable name="content">
+ <xsl:apply-templates mode="list"/>
+ </xsl:variable>
+ <xsl:value-of select="normalize-space($content)"/>
<xsl:if test="position()!=last()">
<xsl:text>.TP </xsl:text>
</xsl:if>
<!-- replaces all spaces within the funcdef/paramdef with non-breaking
spaces -->
<xsl:template match="paramdef|funcdef">
- <xsl:variable name="content">
+ <xsl:variable name="rcontent">
<xsl:apply-templates select="*|./*|text()"/>
</xsl:variable>
+ <xsl:variable name="content">
+ <xsl:value-of select="normalize-space($rcontent)"/>
+ </xsl:variable>
<xsl:call-template name="replace-string">
<xsl:with-param name="content" select="$content"/>
<xsl:with-param name="replace" select="' '"/>