From 28b8601e27335e0b3da2d894b75236c8ca71313f Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sat, 4 Feb 2023 10:21:32 +0300 Subject: [PATCH] more testing and notes... Signed-off-by: Alex A. Naanou --- pwiki/parser.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pwiki/parser.js b/pwiki/parser.js index cc36a7f..cdf48f1 100755 --- a/pwiki/parser.js +++ b/pwiki/parser.js @@ -438,7 +438,7 @@ module.BaseParser = { // the ast is constructed the other should be part of the ast... // XXX ASYNC this does not yet work as a replacement for .expand(..), // not sure why... - // ...seems that this breaks how slots are handled... + // ...seems that this breaks how slots and vars are handled... // to reproduce: // new code: // await p.pwiki.parse('!!! moo') @@ -446,7 +446,7 @@ module.BaseParser = { // old code: // await p.pwiki.parse('!!! moo') // -> 'moo!!! ' - // ...does not seem to affect named macros, test var... + // ...does not seem to affect named macros... _expand: function(page, ast, state={}){ var that = this ast = ast == null ?