more testing and notes...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2023-02-04 10:21:32 +03:00
parent e7613e426c
commit 28b8601e27

View File

@ -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('<slot moo/>!!! <slot moo>moo</slot>')
@ -446,7 +446,7 @@ module.BaseParser = {
// old code:
// await p.pwiki.parse('<slot moo/>!!! <slot moo>moo</slot>')
// -> '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 ?