On 5/30/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Author: andreas
Date: Wed May 30 09:21:19 2007
New Revision: 542860

URL: http://svn.apache.org/viewvc?view=rev&rev=542860
Log:
Don't try to translate external image URLs

Modified:
    lenya/trunk/src/modules/xhtml/xslt/helper-object.xsl

Modified: lenya/trunk/src/modules/xhtml/xslt/helper-object.xsl
URL: 
http://svn.apache.org/viewvc/lenya/trunk/src/modules/xhtml/xslt/helper-object.xsl?view=diff&rev=542860&r1=542859&r2=542860
==============================================================================
--- lenya/trunk/src/modules/xhtml/xslt/helper-object.xsl (original)
+++ lenya/trunk/src/modules/xhtml/xslt/helper-object.xsl Wed May 30 09:21:19 
2007
@@ -38,7 +38,7 @@
             <xsl:when test="starts-with(@data, 'lenya-document:')">
               <xsl:value-of select="@data"/>
             </xsl:when>
-            <xsl:when test="not(starts-with(@data, '/'))">
+            <xsl:when test="not(starts-with(@data, '/') or starts-with(@data, 
'http://'))">

Shouldn't that line check for 'https://' as well?

               <xsl:value-of select="$nodeid"/>/<xsl:value-of select="@data"/>
             </xsl:when>
             <xsl:otherwise>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to