fixed encoding in logs, insert </br> instead of \n in html log