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: debian/2.1.2-2~41 X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=69dab234ef4126ba5d5a1af720ac54050a0107d8;p=pkg%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;