>OK here is a patch that will make the optKeepSpaces behavior
>work the way I want it to.
Looks good to me, will go into the next release
Thanks
Gerald
-
Gerald Richterecos electronic communication services gmbh
Internetconnect
thing on a line except the
beginning
of the Embperl block (and preceding spaces) that
line will be
removed from the output, but everything AFTER the
perl block
is preserved.
Here is an example of the behavior
(from some JavaScript code where I want the
indentation
to be preserved):
>
> I have a comment/request regarding the optKeepSpaces option.
> I would like to preserve the indentation of some
> javascript code generated by embperl without adding
> empty lines. Here is an example.
>
>
> function myfunc() {
> var a=0;
> [$ if ($flag==1) $]
>