Re: HTML_Javascript_Convert::escapeString

From: Date: Sun, 17 Nov 2002 16:46:37 +0000
Subject: Re: HTML_Javascript_Convert::escapeString
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-10913@lists.php.net to get a copy of this message
On Sat, 16 Nov 2002 19:01:08 -0800 "culley harrelson" <culley@ml1.net> wrote: > Previous patch wasn't working in all situations (posted variables for > one...). Updated patch: > > 52c52,55 > < return addslashes($str); > --- > > $lines = explode("\n", $str); > > $lines = array_map('trim', $lines); > > $lines = array_map('addslashes', $lines); > > return implode('\n', $lines); I took back the 1st version of convert. Updated in CVS, can you give it a try ? tia pa

« previous php.pear.dev (#10913) next »