diff --git a/Search.php b/Search.php index 90dfe0f..18a22ef 100644 --- a/Search.php +++ b/Search.php @@ -663,7 +663,7 @@ public function customSearch(&$data, $base, $func, $opts, $dir = '', $lvl = 1) foreach ($dirs as $dir) { call_user_func_array($func, [&$dirs_tmp, $base, $dir, 'd', $lvl, $opts]); } - if($this->group) { + if ($this->group) { //group directories and pages, and sort separately $dirsAndFiles = $dirs_tmp; } else { diff --git a/syntax/indexmenu.php b/syntax/indexmenu.php index d91322d..5ba054e 100644 --- a/syntax/indexmenu.php +++ b/syntax/indexmenu.php @@ -851,7 +851,7 @@ public function formatIndexmenuItem($item) if ($markCurrentPage) { $ret .= ''; } - $ret .= '' + $ret .= '' . $item['title'] . ''; if ($markCurrentPage) {