Compare with main: duplicate share-image tags still fail
Merged
LU
2d ago+12+12+01234567890123456789-6-6-0123456789
Follow-up to #1348, from a Cubic comment there. The exemption for the new share images now requires exactly one image and one alt text per og: and twitter: key, so a page with duplicate tags fails the comparison. New tests cover it; all 70 in test_rebrand_checks.py pass.
š¤ Generated with Claude Code
Summary by cubic
Tightens the default share-image exemption in the rebrand comparison so pages with duplicate share-image tags are no longer silently exempted.
- The exemption now applies only when each
og:andtwitter:key has exactly one image and one alt; otherwise the tags are left for the ordinary comparison, which flags the difference. - Added test cases with a duplicate
og:image, a duplicatetwitter:image, and a duplicateog:image:alt.