diff --git a/lib/prawn/table/column_width_calculator.rb b/lib/prawn/table/column_width_calculator.rb index 60cda1fec..e328c95e7 100644 --- a/lib/prawn/table/column_width_calculator.rb +++ b/lib/prawn/table/column_width_calculator.rb @@ -47,6 +47,9 @@ def fill_values_if_needed(values, cell, index, meth) return values if number_of_nil_values == 0 #b) no values are filled return values if number_of_nil_values == cell.colspan + #c) I am not sure why this line is needed FIXXME + #some test cases manage to this line even though there is no dummy cell in the row + #I'm not sure if this is a sign for a further underlying bug. return values unless has_a_span_dummy?(cell.row) #fill up the values array