handle linebreaks and prettify text in session details