add newlines to the end of html output