diff --git a/pwiki2.js b/pwiki2.js index df18e4d..0d81740 100755 --- a/pwiki2.js +++ b/pwiki2.js @@ -1698,14 +1698,13 @@ module.BaseParser = { var that = this // XXX should we handle strings as input??? ast = ast - ?? await this.expand(page, null, state) + ?? this.expand(page, null, state) ast = typeof(ast) == 'string' ? - await this.expand(page, ast, state) + this.expand(page, ast, state) : ast //return [...ast] - return await ast - .iter() + return ast // post handlers... .map(function(section){ return typeof(section) == 'function' ?