Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
a317585d
Commit
a317585d
authored
Aug 28, 2007
by
Alexandre Bourget
Browse files
Fix asciidoc rendering (for h1)
Added -d book to the asciidoc call.
parent
4adf0748
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/sflphone.funcs.php
View file @
a317585d
...
...
@@ -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
"
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment