aboutsummaryrefslogtreecommitdiffstats
path: root/includes/EditPage.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@users.mediawiki.org>2005-02-25 09:13:03 +0000
committerBrion Vibber <brion@users.mediawiki.org>2005-02-25 09:13:03 +0000
commitabc85cfa9eae0689a744ea75cb18dc096e525e53 (patch)
treecc7b0ed68f6574ca34a86fc5d0320049115d52a5 /includes/EditPage.php
parentee1360fb0d4387305618d5fc61cd97449b546785 (diff)
downloadmediawikicore-abc85cfa9eae0689a744ea75cb18dc096e525e53.tar.gz
mediawikicore-abc85cfa9eae0689a744ea75cb18dc096e525e53.zip
Kill a couple of <font> tags
Notes
Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/7524
Diffstat (limited to 'includes/EditPage.php')
-rw-r--r--includes/EditPage.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/EditPage.php b/includes/EditPage.php
index be5d659c9024..544e2bcb4eb8 100644
--- a/includes/EditPage.php
+++ b/includes/EditPage.php
@@ -698,10 +698,10 @@ END
function getPreviewText( $isConflict, $isCssJsSubpage ) {
global $wgOut, $wgUser, $wgTitle, $wgParser;
- $previewhead='<h2>' . wfMsg( 'preview' ) . "</h2>\n<p><center><font color=\"#cc0000\">" .
- wfMsg( 'note' ) . wfMsg( 'previewnote' ) . "</font></center></p>\n";
+ $previewhead = '<h2>' . htmlspecialchars( wfMsg( 'preview' ) ) . "</h2>\n" .
+ "<p class='previewnote'>" . htmlspecialchars( wfMsg( 'previewnote' ) ) . "</p>\n";
if ( $isConflict ) {
- $previewhead.='<h2>' . wfMsg( 'previewconflict' ) .
+ $previewhead.='<h2>' . htmlspecialchars( wfMsg( 'previewconflict' ) ) .
"</h2>\n";
}