adds newlines to clean up the html output