Return-Path: Delivered-To: apmail-perl-embperl-archive@perl.apache.org Received: (qmail 52862 invoked by uid 500); 29 Jan 2003 17:12:18 -0000 Mailing-List: contact embperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list embperl@perl.apache.org Received: (qmail 52834 invoked from network); 29 Jan 2003 17:12:17 -0000 X-Originating-IP: [200.231.0.66] From: =?iso-8859-1?B?yWRlcnNvbiBNLiBGZXJyZWlyYQ==?= To: embperl@perl.apache.org Bcc: Subject: Re: Quotes in hidden input values from %fdat not escaped correctly. Date: Wed, 29 Jan 2003 17:10:50 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Message-ID: X-OriginalArrivalTime: 29 Jan 2003 17:10:50.0785 (UTC) FILETIME=[5FAD1110:01C2C7B9] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi David... Well, what you are trying do, is impossible. I find best you to do thus: [- $fdat{testfield} = "Say 'hi'."; -]
Case you need use "" instead of '', you will have that create a sub that change '' by "". ok? Untill Soon. >From: David Hull >To: embperl@perl.apache.org >Subject: Quotes in hidden input values from %fdat not escaped correctly. >Date: Tue, 28 Jan 2003 14:47:07 -0800 > >When Embperl 2.0b8 outputs the value attribute for hidden input fields >from the %fdat hash, it doesn't escape the double quotes correctly, >and the %fdat value is not preserved. The following Embperl code >demonstrates the problem. > >The Embperl code: > > [- > $fdat{testfield} = 'Say "hi".'; > -] > > >
> >
> > > >produces: > > > >
> >
> > >-- >David Hull > >--------------------------------------------------------------------- >To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org >For additional commands, e-mail: embperl-help@perl.apache.org _________________________________________________________________ MSN Hotmail, o maior webmail do Brasil. http://www.hotmail.com --------------------------------------------------------------------- To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org For additional commands, e-mail: embperl-help@perl.apache.org