Check for errors at HTML parsing