diff --git a/core/modules/wiki.js b/core/modules/wiki.js index c65c7dc10..cca58c2c1 100755 --- a/core/modules/wiki.js +++ b/core/modules/wiki.js @@ -648,7 +648,7 @@ var tweakMacroDefinition = function(nodeList) { }; nodeList[0].children = nodeList.slice(1); nodeList.splice(1,nodeList.length-1); - tweakMacroDefinition(nodeList.children); + tweakMacroDefinition(nodeList[0].children); } };