cleaned up html output newlines and spacing