Single quotes must be escaped in XML, too
authorAxel Beckert <xtaran@users.sourceforge.net>
Tue, 22 Jul 2008 01:17:30 +0000 (01:17 +0000)
committerAxel Beckert <xtaran@users.sourceforge.net>
Tue, 22 Jul 2008 01:17:30 +0000 (01:17 +0000)
blosxom.cgi

index e415d60..fb2a45f 100755 (executable)
@@ -667,7 +667,8 @@ sub generate {
                     '<' => '&lt;',
                     '>' => '&gt;',
                     '&' => '&amp;',
-                    '"' => '&quot;'
+                    '"' => '&quot;',
+                    "'" => '&apos;'
                 );
                 my $escape_re = join '|' => keys %escape;
                 $title =~ s/($escape_re)/$escape{$1}/g;