Proper HTML escaping to list <> correctly in logs.