[interchange] Fix encode_special_entities filter to prevent heredoc parsing error

David Christensen interchange-cvs at icdevgroup.org
Thu Nov 11 16:28:42 UTC 2010


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



More information about the interchange-cvs mailing list