diff --git a/www/sflphone.funcs.php b/www/sflphone.funcs.php index 6396c1135a0bba2d590def8662ec603516aaa6d9..a72927af3641fe5e5f2d80831aaf1e5d4abd10fd 100644 --- a/www/sflphone.funcs.php +++ b/www/sflphone.funcs.php @@ -114,7 +114,8 @@ function compile_page($hash, $page) { $output = ''; - $p = popen("GIT_DIR=".$GIT_REPOS." git-show $hash | asciidoc --no-header-footer -", 'r'); + // -d book so we can render H1s + $p = popen("GIT_DIR=".$GIT_REPOS." git-show $hash | asciidoc -d book --no-header-footer -", 'r'); if (!$p) { return "Unable to compile file: $page ($hash)\n";