From 0d4262d0c6861579299e3a3c97571e2421617a8b Mon Sep 17 00:00:00 2001 From: Mejia1994 Date: Thu, 8 Apr 2021 22:02:48 -0600 Subject: [PATCH] globals helpers --- mustache.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mustache.js b/mustache.js index 7026e50..c561375 100644 --- a/mustache.js +++ b/mustache.js @@ -703,7 +703,7 @@ Writer.prototype.invokeGlobalHelper = function invokeGlobalHelper (token, contex return view = view[arg[0]]; }(argsHelper.split(/\.+/g).reverse()); - return mustache.escape(mustache.helpers.get(helperName)(value)) || null; + return mustache.escape(mustache.helpers.get(helperName)(value)); }; Writer.prototype.getConfigTags = function getConfigTags (config) {