aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/dokuwiki/lib/tpl/default/main.php2
-rw-r--r--lib/dokuwiki/lib/tpl/default/main_index.php1
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/dokuwiki/lib/tpl/default/main.php b/lib/dokuwiki/lib/tpl/default/main.php
index 9f9618d49..11c4ea967 100644
--- a/lib/dokuwiki/lib/tpl/default/main.php
+++ b/lib/dokuwiki/lib/tpl/default/main.php
@@ -22,7 +22,7 @@ $page_inline = get_input("inline_page");
if (empty($sidebar_inline)) {
ob_start();
include(dirname(__FILE__).'/main_index.php');
-$content = '<div>'.ob_get_clean();
+$content = ob_get_clean();
}
if (empty($page_inline)) {
diff --git a/lib/dokuwiki/lib/tpl/default/main_index.php b/lib/dokuwiki/lib/tpl/default/main_index.php
index 263e47757..31a7ebafb 100644
--- a/lib/dokuwiki/lib/tpl/default/main_index.php
+++ b/lib/dokuwiki/lib/tpl/default/main_index.php
@@ -130,7 +130,6 @@ $page_inline = get_input("inline_page");
<?php/* tpl_license(false);*/?>
-</div>
<?php /*old includehook @include(dirname(__FILE__).'/footer.html')*/ ?>
<div class="no"><?php /* provide DokuWiki housekeeping, required in all templates */ tpl_indexerWebBug()?></div>