Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
content_tag with block doesn't work without Padrino::Rendering #1635
I use padrino-helpers as a Sinatra plugin.
content_tag with block doesn't return a valid string as commented in above.
Thanks for the report.
require 'sinatra' require 'padrino-helpers' require 'padrino-core' register Padrino::Helpers register Padrino::Rendering get '/' do ...
Thank you for your quick reply.
If I define a variable '__in_erb_template = true' in the template, it can print a valid string.