X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fupstream%2Fblosxom.git;a=blobdiff_plain;f=blosxom.cgi;h=aeccd187eaec2610c0f3e9418dcf54c5ccd0368e;hp=39ae927b36fc9e89f3c070998d28324d13a6219e;hb=c26812419e7027d06d08d1f68fbf7b6f16df3db2;hpb=1cfbcdaad3e5f6f0baceb435027632841119d916 diff --git a/blosxom.cgi b/blosxom.cgi index 39ae927..aeccd18 100755 --- a/blosxom.cgi +++ b/blosxom.cgi @@ -375,7 +375,7 @@ sub generate { # Plugins: Story foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('story') and $entries = $plugin->story($path, $fn, \$story, \$title, \$body) } - if ($content_type =~ m{\bxml\b$}) { + if ($content_type =~ m{\bxml\b}) { # Escape <, >, and &, and to produce valid RSS my %escape = ('<'=>'<', '>'=>'>', '&'=>'&', '"'=>'"'); my $escape_re = join '|' => keys %escape;