* Fix XHTML validity error for pages with apostrophe (bug introduced in head, 1.3...
authorBrion Vibber <brion@users.mediawiki.org>
Sun, 3 Oct 2004 01:31:12 +0000 (01:31 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sun, 3 Oct 2004 01:31:12 +0000 (01:31 +0000)
includes/PageHistory.php

index f0c8a8a..0f42b6f 100644 (file)
@@ -127,7 +127,7 @@ class PageHistory {
                $s = '<p>' . wfMsg( 'histlegend' ) . '</p>';
                $s .= '<form action="' . $wgTitle->escapeLocalURL( '-' ) . '" method="get">';
                $prefixedkey = htmlspecialchars($wgTitle->getPrefixedDbKey());
-               $s .= "<input type='hidden' name='title' value='{$prefixedkey}' />\n";
+               $s .= "<input type='hidden' name='title' value=\"{$prefixedkey}\" />\n";
                $s .= !empty($this->submitbuttonhtml1) ? $this->submitbuttonhtml1."\n":'';
                $s .= '<ul id="pagehistory">';
                return $s;