diff --git a/pwiki2.js b/pwiki2.js index a6ffcd3..bb7c4fe 100755 --- a/pwiki2.js +++ b/pwiki2.js @@ -1000,7 +1000,7 @@ object.Constructor('Page', BasePage, { // show first instance... : name in slots) - slots[name] = [...this.__parser__.expand(this, text, state)] + slots[name] = [...this.__parser__.expand(this, text ?? [], state)] return hidden ? ''