On Thu, May 23, 2002 at 11:49:33PM -0400, Kee Hinckley wrote:
> Yes, and $escmode is what I use, but it doesn't work well inline.
> Given the choice of writing:
>       [$ var $oescmode $]
>       [- $oescmode = $escmode; $escmode = 0; -]
>       <a href="[+ $unescapedstring +]">[- $escmode = $oescmode -][+ 
> $foo +]</a>
> 
> or putting it all in a function
>       <a href="[- printunescaped($string) -]">[+ $foo +]</a>
> 
> I'll go for the latter.  What printunescaped does of course is just 
> what I did above, but it's a lot cleaner.

Won't this do what you want?

  <a href="[+ local $escmode = 0; $unescapedstring +]">

Cheers,
Gavin

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to