mirror of
https://github.com/flynx/pWiki.git
synced 2025-10-30 10:30:08 +00:00
tweak...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
921b9dce65
commit
886a69cbb2
@ -1703,7 +1703,6 @@ module.BaseParser = {
|
|||||||
this.expand(page, ast, state)
|
this.expand(page, ast, state)
|
||||||
: ast
|
: ast
|
||||||
|
|
||||||
//return [...ast]
|
|
||||||
return ast
|
return ast
|
||||||
// post handlers...
|
// post handlers...
|
||||||
.map(function(section){
|
.map(function(section){
|
||||||
@ -1893,7 +1892,9 @@ object.Constructor('Page', BasePage, {
|
|||||||
|
|
||||||
// expand the body...
|
// expand the body...
|
||||||
var ast = expand ?
|
var ast = expand ?
|
||||||
[...this.__parser__.expand(this, body, state)]
|
// XXX async...
|
||||||
|
//[...this.__parser__.expand(this, body, state)]
|
||||||
|
this.__parser__.expand(this, body, state)
|
||||||
: body instanceof Array ?
|
: body instanceof Array ?
|
||||||
body
|
body
|
||||||
// NOTE: wrapping the body in an array effectively
|
// NOTE: wrapping the body in an array effectively
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user