Mailing List Archive

problems with disabling scanning of HTML tags
Embperl continues to scan HTML tags although I have disabled scanning of
these.

The code is as follows:

<script>

[- $optDisableHTMLScan = 1 -]

// some code

client.innerHTML = "<tr><td>client address</td></tr>

// some more code

[- $optDisableHTMLScan = 0 -]

</script>


.......

I am trying to let EmbPerl ignore any HTML tags within my Java code, as
above.
Am I doing anything wrong?

regards
ragnar
RE: problems with disabling scanning of HTML tags [ In reply to ]
>
> Embperl continues to scan HTML tags although I have disabled scanning of
> these.
>
> The code is as follows:
>
> <script>
>
> [- $optDisableHTMLScan = 1 -]
>

Simple spelling error, must be

$optDisableHtmlScan

see http://perl.apache.org/embperl/Embperl.pod.3.html#EMBPERL_OPTIONS

Gerald


> // some code
>
> client.innerHTML = "<tr><td>client address</td></tr>
>
> // some more code
>
> [- $optDisableHTMLScan = 0 -]
>
> </script>
>
>
> .......
>
> I am trying to let EmbPerl ignore any HTML tags within my Java code, as
> above.
> Am I doing anything wrong?
>
> regards
> ragnar
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org
>
>