From 2c6c63fa4fac40d0aa0040857a4fd226c7c22ecd Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sun, 24 Jul 2016 19:07:41 +0300 Subject: [PATCH] tweaking... Signed-off-by: Alex A. Naanou --- wiki.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/wiki.js b/wiki.js index 0c25123..2d42169 100755 --- a/wiki.js +++ b/wiki.js @@ -177,7 +177,8 @@ var macro = { function(context, args, text, state){ var name = args.name - //text = text || args.text + // XXX + text = text || args.text text = this.parse(context, text, state, true) if(state.slots[name] == null){ @@ -266,9 +267,10 @@ var macro = { args[((stage[res.name] || {}).macro_args || [])[i] || i] = e }) - if(args.text){ - res.text = args.text - } + // XXX not sure about this.... + //if(args.text){ + // res.text = args.text + //} // html-like... } else {