X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fupstream%2Fblosxom.git;a=blobdiff_plain;f=blosxom.cgi;h=9162488ad1b0221ba162325079f0eb790004f497;hp=072ddf88f03c3ccefb22c265392ef59532e0b69f;hb=78104789ca97d102152d88b983af4f9c709c0247;hpb=a821302896ef85f49108f02324a5d95627bb9ff4 diff --git a/blosxom.cgi b/blosxom.cgi index 072ddf8..9162488 100755 --- a/blosxom.cgi +++ b/blosxom.cgi @@ -1,8 +1,8 @@ #!/usr/bin/perl # Blosxom -# Author: Rael Dornfest (2003), The Blosxom Development Team (2005-2008) -# Version: 2.1.0 +# 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 $) # Home/Docs/Licensing: http://blosxom.sourceforge.net/ # Development/Downloads: http://sourceforge.net/projects/blosxom @@ -660,7 +660,9 @@ sub generate { } } - if ( $encode_xml_entities && $content_type =~ m{\bxml\b} ) { + if ( $encode_xml_entities && + $content_type =~ m{\bxml\b} && + $content_type !~ m{\bxhtml\b} ) { # Escape special characters inside the container # The following line should be moved more towards to top for