You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Bob Harner <bo...@gmail.com> on 2007/05/31 02:12:43 UTC

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

On 5/30/07, andreas@apache.org <an...@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/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: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org