Replace newlines in titles with spaces