You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2007/07/27 16:06:19 UTC
svn commit: r560238 - in /lenya/trunk/src/modules/xhtml/xslt:
clean-xhtml.xsl xhtml2xhtml.xsl
Author: andreas
Date: Fri Jul 27 07:06:17 2007
New Revision: 560238
URL: http://svn.apache.org/viewvc?view=rev&rev=560238
Log:
Use lenya.asset instead of asset for asset <a> CSS class. Thanks to Joern Nettingsmeier for the suggestion.
Modified:
lenya/trunk/src/modules/xhtml/xslt/clean-xhtml.xsl
lenya/trunk/src/modules/xhtml/xslt/xhtml2xhtml.xsl
Modified: lenya/trunk/src/modules/xhtml/xslt/clean-xhtml.xsl
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/xhtml/xslt/clean-xhtml.xsl?view=diff&rev=560238&r1=560237&r2=560238
==============================================================================
--- lenya/trunk/src/modules/xhtml/xslt/clean-xhtml.xsl (original)
+++ lenya/trunk/src/modules/xhtml/xslt/clean-xhtml.xsl Fri Jul 27 07:06:17 2007
@@ -114,7 +114,7 @@
<xsl:template match="lenya:asset">
<p>
- <a href="{@src}" class="asset"><xsl:apply-templates/></a>
+ <a href="{@src}" class="lenya.asset"><xsl:apply-templates/></a>
</p>
</xsl:template>
Modified: lenya/trunk/src/modules/xhtml/xslt/xhtml2xhtml.xsl
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/xhtml/xslt/xhtml2xhtml.xsl?view=diff&rev=560238&r1=560237&r2=560238
==============================================================================
--- lenya/trunk/src/modules/xhtml/xslt/xhtml2xhtml.xsl (original)
+++ lenya/trunk/src/modules/xhtml/xslt/xhtml2xhtml.xsl Fri Jul 27 07:06:17 2007
@@ -68,7 +68,7 @@
</xsl:choose>
</xsl:template>
- <xsl:template match="xhtml:a[@class = 'asset']">
+ <xsl:template match="xhtml:a[@class = 'lenya.asset']">
<ci:include src="{@href}?format=downloadLink"/>
</xsl:template>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org