lib/prawn/table.rb in prawn-layout-0.7.1 vs lib/prawn/table.rb in prawn-layout-0.7.2

- old
+ new

@@ -329,14 +329,14 @@ end bbox = @parent_bounds.stretchy? ? @document.margin_box : @parent_bounds if c.height > y_pos - bbox.absolute_bottom if C(:headers) && page_contents.length == 1 - @document.start_new_page + @parent_bounds.move_past_bottom y_pos = @document.y else draw_page(page_contents) - @document.start_new_page + @parent_bounds.move_past_bottom if C(:headers) && page_contents.any? page_contents = [page_contents[0]] y_pos = @document.y - page_contents[0].height else page_contents = []