From 47ce1f54ff307b222d8b75b2318c91ddffc99dc9 Mon Sep 17 00:00:00 2001 From: Axel Beckert Date: Fri, 25 Jul 2008 18:22:09 +0000 Subject: [PATCH] Moved $encode_xml_entities setting to configuration section since it's also useful to be set manually if e.g. your RSS templates contain CDATA sections --- blosxom.cgi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/blosxom.cgi b/blosxom.cgi index 9162488..06ca9f7 100755 --- a/blosxom.cgi +++ b/blosxom.cgi @@ -2,7 +2,7 @@ # Blosxom # Author: Rael Dornfest (2002-2003), The Blosxom Development Team (2005-2008) -# Version: 2.1.0+dev ($Id: blosxom.cgi,v 1.79 2008/07/24 16:24:07 xtaran Exp $) +# Version: 2.1.0+dev ($Id: blosxom.cgi,v 1.80 2008/07/25 18:22:09 xtaran Exp $) # Home/Docs/Licensing: http://blosxom.sourceforge.net/ # Development/Downloads: http://sourceforge.net/projects/blosxom @@ -76,6 +76,9 @@ $static_password = ""; # 0 = no, 1 = yes $static_entries = 0; +# Should I encode entities for xml content-types? (plugins can turn this off if they do it themselves) +$encode_xml_entities = 1; + # -------------------------------- use vars @@ -90,9 +93,6 @@ use CGI qw/:standard :netscape/; $version = "2.1.0"; -# Should I encode entities for xml content-types? (plugins can turn this off if they do it themselves) -$encode_xml_entities = 1; - # Load configuration from $ENV{BLOSXOM_CONFIG_DIR}/blosxom.conf, if it exists my $blosxom_config; if ( $ENV{BLOSXOM_CONFIG_FILE} && -r $ENV{BLOSXOM_CONFIG_FILE} ) { -- 2.39.2