List Info

Thread: Re: svn commit: r542860 - /lenya/trunk/src/modules/xhtml/xslt/helper-object.xsl




Re: svn commit: r542860 - /lenya/trunk/src/modules/xhtml/xslt/help er-object.xsl
user name
2007-05-30 19:12:43
On 5/30/07, andreasapache.org <andreasapache.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-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )