From 82fb5fa9ac382392731e2a8548cc0946389e0bfa Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sun, 30 Oct 2022 14:33:18 +0300 Subject: [PATCH] tweaks... Signed-off-by: Alex A. Naanou --- pwiki/page.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pwiki/page.js b/pwiki/page.js index ef4dd58..40bd933 100755 --- a/pwiki/page.js +++ b/pwiki/page.js @@ -1316,12 +1316,13 @@ object.Constructor('Page', BasePage, { // // NOTE: if both strict and nonstrict are given the later takes // precedence. + // NOTE: if both isolated (default) and unisolated are given + // then isolated has priority. // // XXX SORT sorting not implemented yet.... macro: Macro( ['name', 'src', 'sort', 'text', 'join', 'else', - ['strict', 'nonstrict', 'isolated']], - //['strict', 'nonstrict', 'unisolated']], + ['strict', 'nonstrict', 'isolated', 'unisolated']], async function*(args, body, state){ var that = this var name = args.name //?? args[0] @@ -1341,7 +1342,7 @@ object.Constructor('Page', BasePage, { var strict = args.strict && !args.nonstrict var isolated = args.isolated - //var isolated = !args.unisolated + || !args.unisolated var join var depends = state.depends =