From 8d9ec35bc3f3351cc24436a2cacc437a6a93a387 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Thu, 21 Apr 2005 03:58:10 +0000 Subject: [PATCH] * Cleaned up --- includes/SpecialExport.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/SpecialExport.php b/includes/SpecialExport.php index b9f46506f8..fa4424fb80 100644 --- a/includes/SpecialExport.php +++ b/includes/SpecialExport.php @@ -67,8 +67,8 @@ function pages2xml( $pages, $curonly = false ) { wfProfileIn( $fname ); global $wgContLanguageCode, $wgInputEncoding, $wgContLang; - $xml = "<" . "?xml version=\"1.0\" encoding=\"UTF-8\" ?" . ">\n" . - "\n"; + $xml = '' . "\n" . + '' . "\n"; foreach( $pages as $page ) { $xml .= page2xml( $page, $curonly ); } @@ -192,4 +192,4 @@ function xmlsafe( $string ) { wfProfileOut( $fname ); return $string; } -?> \ No newline at end of file +?> -- 2.20.1