perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gavin Carr <ga...@openfusion.com.au>
Subject Re: variable containing &nbsp; is output literally as &nbsp;
Date Mon, 30 Dec 2002 22:13:46 GMT
On Mon, Dec 30, 2002 at 04:03:31PM -0600, Jason Bodnar wrote:
> I have the following code in my empberl document:
> 
> [- $rw->{$field} =~ s/\s+/&nbsp;/g -]
> <some html ...>
> [+ $rw->{$field} +]

Try:

[+ local $escmode = 0;  $rw->{$field} +]

Cheers,
Gavin

-- 
Open Fusion P/L - Open Source Business Solutions [ Linux - Perl - Apache ]
http://www.openfusion.com.au
- Fashion is a variable, but style is a constant - Programming Perl

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message