From: <xm...@us...> - 2006-08-15 05:23:03
|
Revision: 6163 Author: xmldoc Date: 2006-08-14 22:22:58 -0700 (Mon, 14 Aug 2006) ViewCVS: http://svn.sourceforge.net/docbook/?rev=6163&view=rev Log Message: ----------- Normalize space in Refsect/title output. Modified Paths: -------------- trunk/xsl/manpages/refentry.xsl Modified: trunk/xsl/manpages/refentry.xsl =================================================================== --- trunk/xsl/manpages/refentry.xsl 2006-08-15 05:17:55 UTC (rev 6162) +++ trunk/xsl/manpages/refentry.xsl 2006-08-15 05:22:58 UTC (rev 6163) @@ -73,9 +73,12 @@ </xsl:template> <xsl:template match="refsect1|refentry/refsection"> + <xsl:variable name="title"> + <xsl:apply-templates select="." mode="title.markup"/> + </xsl:variable> <xsl:call-template name="mark.subheading"/> <xsl:text>.SH "</xsl:text> - <xsl:apply-templates select="." mode="title.markup"/> + <xsl:value-of select="normalize-space($title)"/> <xsl:text>" </xsl:text> <xsl:call-template name="mark.subheading"/> <xsl:apply-templates/> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |