You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by ne...@apache.org on 2007/04/25 17:45:50 UTC

svn commit: r532395 - /lenya/trunk/src/modules/news/xslt/collection2xhtml.xsl

Author: nettings
Date: Wed Apr 25 08:45:49 2007
New Revision: 532395

URL: http://svn.apache.org/viewvc?view=rev&rev=532395
Log:
fix minor xhtml validation bug, reported by richard frovarp.

Modified:
    lenya/trunk/src/modules/news/xslt/collection2xhtml.xsl

Modified: lenya/trunk/src/modules/news/xslt/collection2xhtml.xsl
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/news/xslt/collection2xhtml.xsl?view=diff&rev=532395&r1=532394&r2=532395
==============================================================================
--- lenya/trunk/src/modules/news/xslt/collection2xhtml.xsl (original)
+++ lenya/trunk/src/modules/news/xslt/collection2xhtml.xsl Wed Apr 25 08:45:49 2007
@@ -64,9 +64,9 @@
     <xsl:variable name="date" select="meta:metadata/dc:elements/dc:date"/>
     <xsl:variable name="title" select="meta:metadata/dc:elements/dc:title"/>
     <h2>
-      <div class="newsDate">
+      <span class="newsDate">
         <i18n:date-time src-pattern="yyyy-MM-dd hh:mm:ss" locale="{$language}" value="{$date}" />
-      </div>
+      </span><br />
       <a href="lenya-document:{@uuid}" style="text-decoration: none"><xsl:value-of select="$title"/></a>
     </h2>
     <xsl:apply-templates select="xhtml:html/xhtml:body/xhtml:p[1]"/>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org