X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fupstream%2Fblosxom.git;a=blobdiff_plain;f=blosxom.cgi;h=6476df1eb54d95214b7742b122491947ae8024f8;hp=072ddf88f03c3ccefb22c265392ef59532e0b69f;hb=06d0618e256d18dc97ac5efbfaaed76cfb135d4e;hpb=a821302896ef85f49108f02324a5d95627bb9ff4 diff --git a/blosxom.cgi b/blosxom.cgi index 072ddf8..6476df1 100755 --- a/blosxom.cgi +++ b/blosxom.cgi @@ -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