[Zope] quotes

Michel Vayssade michel.vayssade@utc.fr
Fri, 29 Mar 2002 18:34:40 +0100 (MET)


Hi,

Inside a dtml I write back to the browser the previous content
of a form with :
<input type="text" size="20" 
    name="<dtml-var "lesattr[index]">" 
    class="form-element" value="<dtml-var "lesvals[index]">" >

 <input type="text" size="50" name=txt<dtml-var sequence-index>
   class="form-element" 
   value="<dtml-var "lisvals[_['sequence-index']][0]">" >

all is good ... until somebody enter a text including double-quotes
then dtml take the " in the text as the terminating quote

how can I deal with these embeded quotes ?

--
  _/   _/ _/_/_/  _/_/ Michel.Vayssade@UTC.fr    Service Informatique
 _/   _/   _/  _/      T:33/0-3.44.23.49.24 Universite de Technologie
_/   _/   _/  _/       F:33/0-3.44.23.46.77 BP 20.529 60205 Compiegne
 _/_/    _/    _/_/    _ mv@utc.fr __/www.utc.fr/~vayssade____ France