@ -715,6 +715,9 @@
// )
// );
// Whether or not to put brackets around the whole board list
$config['boardlist_wrap_bracket'] = false;
// Automatically remove unnecessary whitespace when compiling HTML files from templates.
$config['minify_html'] = true;
@ -46,7 +46,7 @@ function createBoardlist($mod=false) {
if (!isset($config['boards'])) return array('top'=>'','bottom'=>'');
$body = doBoardListPart($config['boards'], $mod?'?/':$config['root']);
if (!preg_match('/\] $/', $body))
if (!preg_match('/\] $/', $body) && $config['boardlist_wrap_bracket'])
$body = '[' . $body . ']';
$body = trim($body);