mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-07 22:02:12 +08:00
Fix asciidoc rendering (for h1)
Added -d book to the asciidoc call.
This commit is contained in:
@ -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";
|
||||
|
Reference in New Issue
Block a user