You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Saadiq Rodgers-King <sa...@nyc.rr.com> on 2002/10/06 23:12:25 UTC
2.0b8 and single quotes in html
I just installed Perl 5.6.1 and Embperl 2.0b8 on a box to start
transitioning my 1.3.4 stuff over. Are single quotes no longer allowed
in html? I was getting a compilation error because of a select option
including a single quote.
<option>St. Ann's Bay</option>
To fix I either had to use the html escape $ or make it a Perl
string to escape it like below.
<option>[+ 'St. Ann\'s Bay' +]</option>
Is this behaving as it should? Thanks.
Saadiq
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: 2.0b8 and single quotes in html
Posted by Gerald Richter <ri...@ecos.de>.
> I just installed Perl 5.6.1 and Embperl 2.0b8 on a box to start
> transitioning my 1.3.4 stuff over. Are single quotes no longer allowed
> in html? I was getting a compilation error because of a select option
> including a single quote.
>
> <option>St. Ann's Bay</option>
>
This is a bug in 2.0b8. It's doesn't corretly escapes the signle quote when
it assigns the option value to the %idat hash.
I fix this as soon as possible
Gerald
-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: richter@ecos.de Voice: +49 6133 925131
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org