I have added some traces on the Benchpress object :
{
precompile: [Function: precompile] {
isNative: true,
defaults: { minify: false, unsafe: false, native: true }
},
__express: [Function: __express],
evaluate: [Function: evaluate],
compileRender: [Function: compileRender],
compileParse: [Function: compileParse],
runtime: [Function: runtime],
helpers: {
__escape: [Function: identity],
displayMenuItem: [Function: displayMenuItem],
buildMetaTag: [Function: buildMetaTag],
buildLinkTag: [Function: buildLinkTag],
stringify: [Function: stringify],
escape: [Function: escape],
stripTags: [Function: stripTags],
generateCategoryBackground: [Function: generateCategoryBackground],
generateChildrenCategories: [Function: generateChildrenCategories],
generateTopicClass: [Function: generateTopicClass],
membershipBtn: [Function: membershipBtn],
spawnPrivilegeStates: [Function: spawnPrivilegeStates],
localeToHTML: [Function: localeToHTML],
renderTopicImage: [Function: renderTopicImage],
renderDigestAvatar: [Function: renderDigestAvatar],
userAgentIcons: [Function: userAgentIcons],
buildAvatar: [Function: buildAvatar],
register: [Function: register],
logger: [Function: logger],
obfuscate: [Function: obfuscate]
},
registerHelper: [Function: registerHelper],
cache: {},
globals: { true: true, false: false },
setGlobal: [Function: setGlobal],
addGlobals: [Function: addGlobals],
flush: [Function: flush],
render: [Function: render],
parse: [Function: parse],
registerLoader: [Function: registerLoader]
}
My two custom helper functions, logger and obfuscate, are visible, but the result template still show {function.obfuscate, 'testUrl'} .