[Zope] dtml syntax error with quotes

julio dinis juliodinis@hotmail.com
Tue, 28 Mar 2000 13:08:45 PST


Hi all,

This code results in a error:

<dtml-let MyVar="_.string.replace(Mytext,'"','&quot;')">

I know its because of the quote in '"' because that cause in
same way an error when the "dtml parser" is parsing the code.

I've tryed to use '\"' and even _.chr(34) instead of " but the former gives 
me the same error and the latter dont give a error but also
dont do the string replace I want to do.

Any help?
Thanx,
Julio
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com