diff --git a/Listok.js b/Listok.js index 0de3c92..4c5d9b7 100644 --- a/Listok.js +++ b/Listok.js @@ -126,7 +126,7 @@ class Listok { if (this.isEmpty(func)) { return ''; } else if(typeof func === 'function') { - return func(this.parseFunctionParams(tagParams)); + return func(this.parseFunctionParams(tagParams), context); } else { return func.toString(); }