[ic] [interchange] Fix encode_special_entities filter to prevent heredoc parsing error
Stefan Hornburg (Racke)
racke at linuxia.de
Fri Nov 12 08:49:16 UTC 2010
On 11/11/2010 05:28 PM, David Christensen wrote:
> commit bda8f400ac18d5ac1d17468b4744359da36cd024
> Author: David Christensen<david at endpoint.com>
> Date: Thu Nov 11 10:26:15 2010 -0600
>
> Fix encode_special_entities filter to prevent heredoc parsing error
>
> This resolves a "Bareword found where operator expected" message which
> prevents the load of the filter in question. Apparently, IC's heredoc
> parsing fails to properly parse when the ending token is the last line
> of the file and that line does not end in a newline.
>
> code/Filter/encode_special_entities.filter | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
> ---
> diff --git a/code/Filter/encode_special_entities.filter b/code/Filter/encode_special_entities.filter
> index 0046da8..7860b12 100644
> --- a/code/Filter/encode_special_entities.filter
> +++ b/code/Filter/encode_special_entities.filter
> @@ -18,4 +18,4 @@ sub {
>
> return $val;
> }
> -EOR
> \ No newline at end of file
> +EOR
That's good for now, but I suggest to fix the heredoc bug inside Interchange :-).
Regards
Racke
--
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team
More information about the interchange-users
mailing list