in text, handle new lines and convert them to html line breaks