amber icon indicating copy to clipboard operation
amber copied to clipboard

Allow to access functions from FuncMap

Open pavelvlasov opened this issue 11 years ago • 4 comments

Seems, that calling only works for built-in functions, because

#{foo($bar)}

transforms into {{call .foo $bar}}, but should be without . character. It can cause #25 issue. More elegant solutions are welcome :)

pavelvlasov avatar Aug 15 '14 12:08 pavelvlasov

bump, any word on this pull request? I have the exact same issue.

deankarn avatar Feb 08 '15 03:02 deankarn

I have the same issue, pull request appears to fix it for me. It would be great if this could get fixed - even if just as a stop-gap solution.

ghost avatar May 17 '15 15:05 ghost

+1

bradrydzewski avatar Oct 05 '15 23:10 bradrydzewski

I also encountered this problem in algernon, but when using a template.FuncMap when rendering the template with Amber, it worked.

xyproto avatar Dec 01 '15 13:12 xyproto