On 5/30/07, andreas apache.org <andreas apache.org> 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/tru
nk/src/modules/xhtml/xslt/helper-object.xsl?view=diff&re
v=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: dev-unsubscribe lenya.apache.org
For additional commands, e-mail: dev-help lenya.apache.org
|