On Thu, 19 Dec 2002, paul POULAIN wrote:
> In the template we have :
> <input type="text" name="test" value="<TMPL_VAR name="test">">
>
> and we "replace it with the $template->param(test => $test)
>
> Our problem is that when $test='here is "daddy"';
> the result is :
> <input type="text" name="test" value="here is "daddy"">
> which is bad html, and result in a field containing "here is" ("daddy"
> is lost)
[snip]
> So, how could we solve this ?
well, reading the docs would help. especially the part about the
escape=html parameter of the tmpl_var tag.
Philip
--
Your boyfriend takes chocolate from strangers.
-------------------------------------------------------
This SF.NET email is sponsored by: Geek Gift Procrastinating?
Get the perfect geek gift now! Before the Holidays pass you by.
T H I N K G E E K . C O M http://www.thinkgeek.com/sf/
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users