Closed ghostiam closed 8 years ago
If change the function, it works. May be an error here?
117 // Ctx returns current evaluation context.
118 func (options *Options) Ctx() interface{} {
- 119 return options.eval.curCtx()
+ 119 return options.eval.curCtx().Interface()
120 }
I published raymond 2.0.0 with your bugfix.
Thanks a lot for reporting that issue.
@aymerick Thank you too for this amazing library!
Hello, I need to recursively load templates, but the context is not rendered
Expected:
but got:
Same thing on JS https://jsfiddle.net/Ghost_Russia/dv8tjekp/