diff --git a/api/export_html.php b/api/export_html.php
index 79ade0a..55553c2 100644
--- a/api/export_html.php
+++ b/api/export_html.php
@@ -22,7 +22,6 @@ $bookmarks =& $bookmarkservice->getBookmarks(0, NULL, $userservice->getCurrentUs
// Set up the XML file and output all the posts.
-header('Content-Type: text/html');
echo ''."\r\n";
echo '';
echo ''."\r\n";
diff --git a/header.inc.php b/header.inc.php
index cae71f4..5051002 100644
--- a/header.inc.php
+++ b/header.inc.php
@@ -50,5 +50,5 @@ $tplVars['currentUser'] = $currentUser;
$tplVars['userservice'] = $userservice;
// 6 // Force UTF-8 behaviour for server (cannot be move into top.inc.php which is not included into every file)
-header('Content-Type: text/html; charset=utf-8');
+header('Content-Type: text/html; charset=utf-8');
?>