You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by ch...@apache.org on 2006/02/02 14:02:50 UTC
svn commit: r374374 - /lenya/trunk/src/modules/svg/xslt/image2svg.xsl
Author: chestnut
Date: Thu Feb 2 05:02:45 2006
New Revision: 374374
URL: http://svn.apache.org/viewcvs?rev=374374&view=rev
Log:
match only on img src attributes so that it doesn't interfere other elements such as script.
Modified:
lenya/trunk/src/modules/svg/xslt/image2svg.xsl
Modified: lenya/trunk/src/modules/svg/xslt/image2svg.xsl
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/modules/svg/xslt/image2svg.xsl?rev=374374&r1=374373&r2=374374&view=diff
==============================================================================
--- lenya/trunk/src/modules/svg/xslt/image2svg.xsl (original)
+++ lenya/trunk/src/modules/svg/xslt/image2svg.xsl Thu Feb 2 05:02:45 2006
@@ -25,7 +25,7 @@
</xsl:copy>
</xsl:template>
- <xsl:template match="@src">
+ <xsl:template match="xhtml:img/@src">
<xsl:attribute name="src">
<xsl:value-of select="."/>
<xsl:text>?</xsl:text>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org