All parse errors - related code removed. Will you ever handle errors like "End tag <span> violates step 1, paragraph 1 of the adoption agency algorithm." I don't think so. On other hand now we have a cleaner and a faster code.