You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Radu Cotescu (JIRA)" <ji...@apache.org> on 2016/07/07 14:16:11 UTC

[jira] [Assigned] (SLING-5632) [sightly] Support for external links with @ extension

     [ https://issues.apache.org/jira/browse/SLING-5632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Radu Cotescu reassigned SLING-5632:
-----------------------------------

    Assignee: Radu Cotescu

> [sightly] Support for external links with @ extension
> -----------------------------------------------------
>
>                 Key: SLING-5632
>                 URL: https://issues.apache.org/jira/browse/SLING-5632
>             Project: Sling
>          Issue Type: Bug
>          Components: Scripting
>            Reporter: Feike Visser
>            Assignee: Radu Cotescu
>              Labels: Sightly
>             Fix For: Scripting Sightly Engine 1.0.20
>
>
> Code example
> {noformat}
> <a href="${ path @ extension='html'}">Our link</a>
> {noformat}
> This normally works ok, but in case {{path}} points to a URL that doesn't contain any path information "http://www.google.com", then we don't want to add the extension.
> Now this check has to be done every time we use the {{extension}} option.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)