You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Sherwin Daganato <wi...@email.com.ph> on 2000/06/22 08:37:33 UTC

help on escaping

Pls help me on this.

how can i make this work?
[+ "<b> HI! <\b>" +]

thanks.


RE: help on escaping

Posted by Gerald Richter <ri...@ecos.de>.
>
> Did you try to use escmode=0 in in general configuration
> or locally:
>
> [- $HTML::Embperl::escmode=0; -]
> [+ "<b> HI! <\b>" +]
> [- $HTML::Embperl::escmode=1; -]
>

This could be written as

[+ local $escmode = 0 ; "<b> HI! <\b>" +]

but it will only work if optRawInput is set (which should be done anyway if
you are directly editing the html source). If optRawInput is not set,
because you are using a highlevel html editor, you have to write

[+ local $escmode = 0 ; "&lt;b&gt; HI! &lt;\b&gt;" +]

which will a normal high level html editor do for you.

Better would be writing:

<b>[+ "Hi!" +]</b>

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 925151
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------


Re: help on escaping

Posted by olivier <le...@think-link.fr>.
Did you try to use escmode=0 in in general configuration
or locally:

[- $HTML::Embperl::escmode=0; -]
[+ "<b> HI! <\b>" +]
[- $HTML::Embperl::escmode=1; -]

Hope it helps...

On Thu, 22 Jun 2000, Sherwin Daganato wrote:

> Pls help me on this.
> 
> how can i make this work?
> [+ "<b> HI! <\b>" +]
> 
> thanks.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org
> 
> 
>