ockam/php-csv — pull request #3 by mcferno (2012-04-25 19:06:43+00:00)
Title: Adjustment to escape linefeeds within field data

Escaping strings which have inner line-breaks (\r\n, \r, \n) with double quotes.

This came up following the export of data which was entered via a form textarea. The data had numerous linefeeds within it, which caused the data to fall onto several new lines, causing Excel and Open Office to interpret them as new rows.

Added a new unit test to cover this scenario.