You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by cd...@apache.org on 2006/09/12 09:49:50 UTC
svn commit: r442507 -
/forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/pelt/html/siteinfo-credits.ft
Author: cdupoirieux
Date: Tue Sep 12 00:49:49 2006
New Revision: 442507
URL: http://svn.apache.org/viewvc?view=rev&rev=442507
Log:
Add normalize-space to suppress extra white spaces in xml sources.
FOR-929
Cf. http://marc.theaimsgroup.com/?l=forrest-dev&w=2&r=1&s=442037&q=b
Modified:
forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/pelt/html/siteinfo-credits.ft
Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/pelt/html/siteinfo-credits.ft
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/pelt/html/siteinfo-credits.ft?view=diff&rev=442507&r1=442506&r2=442507
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/pelt/html/siteinfo-credits.ft (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/pelt/html/siteinfo-credits.ft Tue Sep 12 00:49:49 2006
@@ -66,11 +66,11 @@
<xsl:if test="not( position()=1 ) and $use-br='true'">
<br/>
</xsl:if>
- <xsl:variable name="name" select="name"/>
- <xsl:variable name="url" select="url"/>
- <xsl:variable name="image" select="image"/>
- <xsl:variable name="width" select="width"/>
- <xsl:variable name="height" select="height"/>
+ <xsl:variable name="name" select="normalize-space(name)"/>
+ <xsl:variable name="url" select="normalize-space(url)"/>
+ <xsl:variable name="image" select="normalize-space(image)"/>
+ <xsl:variable name="width" select="normalize-space(width)"/>
+ <xsl:variable name="height" select="normalize-space(height)"/>
<a href="{$url}">
<img alt="{$name} - logo" title="{$name}">
<xsl:attribute name="src">