You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by cr...@apache.org on 2005/07/05 05:40:51 UTC

svn commit: r209199 - /forrest/trunk/main/webapp/skins/pelt/xslt/html/site2xhtml.xsl

Author: crossley
Date: Mon Jul  4 20:40:50 2005
New Revision: 209199

URL: http://svn.apache.org/viewcvs?rev=209199&view=rev
Log:
Fix sloppy revision 209193. Fix spelling mistake and use normalize-space()
for motd-title.

Modified:
    forrest/trunk/main/webapp/skins/pelt/xslt/html/site2xhtml.xsl

Modified: forrest/trunk/main/webapp/skins/pelt/xslt/html/site2xhtml.xsl
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/webapp/skins/pelt/xslt/html/site2xhtml.xsl?rev=209199&r1=209198&r2=209199&view=diff
==============================================================================
--- forrest/trunk/main/webapp/skins/pelt/xslt/html/site2xhtml.xsl (original)
+++ forrest/trunk/main/webapp/skins/pelt/xslt/html/site2xhtml.xsl Mon Jul  4 20:40:50 2005
@@ -63,7 +63,7 @@
                 <xsl:if test="$config/motd">
                   <xsl:for-each select="$config/motd/motd-option">
                     <xsl:if test="contains($path, @pattern)">
-                      <xsl:if test="motd-tile != ''">
+                      <xsl:if test="normalize-space(motd-title) != ''">
                         <xsl:text> (</xsl:text>
                         <xsl:value-of select="motd-title"/>
                         <xsl:text>)</xsl:text>