Added function that creates proper html for textarea text that requires all spaces and carriage returns to be in place.