Fix HTML equivalence matching