Fix HTML snippet