Re: ensure_starts_with issue
FOX427 <[email protected]> Tue, 2 Jun 2015 09:40:59 -0700 (PDT)
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
for now I have added this and it works so far:
<#if url?starts_with("http")>
${label} <${url}> <br>
<#else>
${label} <http://${url}> <br>
</#if>
--
View this message in context: http://freemarker.624813.n4.nabble.com/ensure-starts-with-issue-tp4655468p4655469.html
Sent from the freemarker-user mailing list archive at Nabble.com.
------------------------------------------------------------------------------