angelo icon indicating copy to clipboard operation
angelo copied to clipboard

scope option being ignored completely

Open stugol opened this issue 9 years ago • 1 comments

You have a bug in instantiate_template_from_string, where opts aren't being passed correctly to Tilt.new. In addition, in lib/angelo/templates.rb, line 61, the code render = ->{ template.render(self, locals) } should respect the :scope option, if set.

stugol avatar Sep 09 '16 21:09 stugol

Hello. It sounds like you have all the ingredients for a PR. I've not had much time for this project lately, but am happy to review fixes if you do. Thanks!

kenichi avatar Sep 24 '16 00:09 kenichi