X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;ds=sidebyside;f=blosxom.cgi;h=c6ae87779c8a593e5f73bc33637799722b506ea4;hb=9652d395819c4912e306a5b1cd836fc7dbd23e2f;hp=072ddf88f03c3ccefb22c265392ef59532e0b69f;hpb=a821302896ef85f49108f02324a5d95627bb9ff4;p=matthijs%2Fupstream%2Fblosxom.git diff --git a/blosxom.cgi b/blosxom.cgi index 072ddf8..c6ae877 100755 --- a/blosxom.cgi +++ b/blosxom.cgi @@ -1,7 +1,7 @@ #!/usr/bin/perl # Blosxom -# Author: Rael Dornfest (2003), The Blosxom Development Team (2005-2008) +# Author: Rael Dornfest (2002-2003), The Blosxom Development Team (2005-2008) # Version: 2.1.0 # 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