lib/watir/table.rb in watir-3.0.0.rc1 vs lib/watir/table.rb in watir-3.0.0.rc2
- old
+ new
@@ -12,10 +12,10 @@
assert_exists
rows_memo = []
@o.rows.each do |row|
cells_memo = []
row.cells.each do |cell|
- cells_memo << TableCell.new(self, :ole_object, cell).text
+ cells_memo << TableCell.new(self, :ole_object, cell).text.gsub("\r\n","")
end
rows_memo << cells_memo
end
rows_memo
end