Stefan Seifert a �crit:
paul POULAIN wrote:
the easiest way is to just do an
$test =~ /"/"/g;
$template->param(test => $test);
yes, but we want to avoid quoting every variable just before sending
them to param...
so the output would be <input type="text" name="test" value="here is
"daddy"">
another way is to use HTML::Templates escaping capabilities like this:
<input type="text" name="test" value="<tmpl_var name="test"
escape="HTML">">
which does roughly the same but with more translations. This should
be the prefered solution, if you don't need extended capabilities.
many thanks.
Seems nobody had read the doc enough :-)
--
Paul POULAIN
Consultant ind�pendant en logiciels libres
responsable francophone de koha (SIGB libre http://fr.koha.org)
-------------------------------------------------------
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