]> git.deb.at Git - pkg/blosxom.git/blobdiff - blosxom.cgi
In contrary to the copyright statement on http://www.blosxom.com/license.html, but...
[pkg/blosxom.git] / blosxom.cgi
index 072ddf88f03c3ccefb22c265392ef59532e0b69f..c6ae87779c8a593e5f73bc33637799722b506ea4 100755 (executable)
@@ -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 <link> container
 
                 # The following line should be moved more towards to top for