Re: [htmltmpl] escaping quotes [was: (no subject)]
Brought to you by:
samtregar
From: Philip S T. <phi...@gm...> - 2002-07-08 04:41:19
|
On Sun, 7 Jul 2002, Douglas Kirkland wrote: > You need to filter the data looking for the character in the data stream. > This is what I use to take care of that problem. > > $data =~ s|"|\\"|g; This won't work if you use the same var in javascript and in html. |