lib/taxedo/builder/html.rb in taxedo-0.0.1 vs lib/taxedo/builder/html.rb in taxedo-0.0.2
- old
+ new
@@ -4,10 +4,13 @@
when :lines then lines
when :rows then table_rows options[:columns], options[:custom_content]
else table
end
- return @content.join("\n")
+ @content = @content.join("\n")
+ @content = @content.html_safe if @content.respond_to? :html_safe
+
+ return @content
end
private
def lines