Replace newlines in title with spaces