class Padrino::Helpers::OutputHelpers::ErbHandler
def capture_from_template(*args, &block)
Force Erb capture not to use safebuffer
def capture_from_template(*args, &block) self.output_buffer, _buf_was = '', output_buffer raw = block.call(*args) captured = template.instance_variable_get(:@_out_buf) self.output_buffer = _buf_was engine_matches?(block) ? captured : raw end