From: Axel Beckert Date: Tue, 22 Jul 2008 01:17:30 +0000 (+0000) Subject: Single quotes must be escaped in XML, too X-Git-Tag: v2_1_0~11 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=69dab234ef4126ba5d5a1af720ac54050a0107d8;p=matthijs%2Fupstream%2Fblosxom.git Single quotes must be escaped in XML, too --- diff --git a/blosxom.cgi b/blosxom.cgi index e415d60..fb2a45f 100755 --- a/blosxom.cgi +++ b/blosxom.cgi @@ -667,7 +667,8 @@ sub generate { '<' => '<', '>' => '>', '&' => '&', - '"' => '"' + '"' => '"', + "'" => ''' ); my $escape_re = join '|' => keys %escape; $title =~ s/($escape_re)/$escape{$1}/g;