lib/tableficate/column.rb in tableficate-0.1.3 vs lib/tableficate/column.rb in tableficate-0.2.0

- old
+ new

@@ -12,11 +12,15 @@ end def value(row) if @block output = @block.call(row) - output = output.html_safe if output.respond_to? :html_safe - output + if output.is_a?(ActionView::OutputBuffer) + '' + else + output = output.html_safe if output.respond_to? :html_safe + output + end else row.send(@name) end end