From 59bd3b2382e017452555bb1a0e30bd6c63223f11 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 22 Aug 2005 06:09:25 +0000 Subject: [PATCH] * (bug 3218) Use proper quoting on history Compare Revisions button --- RELEASE-NOTES | 1 + includes/PageHistory.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 05aa2fd4ee..a841a478e1 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -42,6 +42,7 @@ Misc work going on..... * (bug 3210) Fix Media: links with remote image URL path * (bug 1956) Hide bot uploads from Special:Newimages * (bug 3216) Don't show empty warning page when no warnings. +* (bug 3218) Use proper quoting on history Compare Revisions button === Caveats === diff --git a/includes/PageHistory.php b/includes/PageHistory.php index a3d6c284db..a774248dc4 100644 --- a/includes/PageHistory.php +++ b/includes/PageHistory.php @@ -186,7 +186,7 @@ class PageHistory { $s = wfMsgWikiHtml( 'histlegend' ); $s .= '
'; $prefixedkey = htmlspecialchars($wgTitle->getPrefixedDbKey()); - $s .= "\n"; + $s .= "\n"; $s .= $this->submitButton(); $s .= '