[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

small problem with wml

There is clearly something wrong in the following:

Running wml on the following:
  <define-tag URL whitespace=delete>
     <: if(q{%0} eq "") { print "&lt;none&gt;";}
        else { $tmp=q{%0}; print "<a href=\"$tmp\">$tmp</a>";}
  :> </define-tag>

  <URL http://a.b.c/cd/>
  <URL http://a.b.c/cd/ >


<a href="http://a.b.c/cd">http://a.b.c/cd</a>
<a href="http://a.b.c/cd/">http://a.b.c/cd/</a>

Why is the last slash disappearing?

James (Jay) Treacy
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com