From e03efe4b842dcb187dbcce9b29caea0ae8fc39cb Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Thu, 25 Mar 2010 18:31:29 +0000 Subject: [PATCH] * (bug 22949) extra at beginning of page --- CREDITS | 1 + includes/OutputPage.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CREDITS b/CREDITS index a4c38ad2dd..27ec75f623 100644 --- a/CREDITS +++ b/CREDITS @@ -86,6 +86,7 @@ following names for their contribution to the product. * Jimmy Xu * Karun Dambietz * Kim Hyun-Joon +* Lee Worden * liangent * Lucas Garczewski * Louperivois diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 3685f5dcaa..c87f1fc000 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -2118,7 +2118,7 @@ class OutputPage { } $this->addMeta( 'http:Content-Type', "$wgMimeType; charset=$wgOutputEncoding" ); } - $ret .= Html::element( 'html', $htmlAttribs ) . "\n"; + $ret .= Html::openElement( 'html', $htmlAttribs ) . "\n"; $openHead = Html::openElement( 'head' ); if ( $openHead ) { -- 2.20.1