When I export something to CSV (in my case from timesheet) and it has linebreaks, the csv comes out garbled (starts a new line where there is a line break).

How can I solve this problem.

Here are threads with similar problems:
http://www.sugarcrm.com/forums/showthread.php?t=20621
http://www.sugarcrm.com/forums/showthread.php?t=30291

Only I can't find some similar query in modules/timesheet.php

Can anybody point me in the right direction?