process incoming html