fix for twitter and the like: replace newlines with spaces