head-tags-collide
This fails the run. Where it is wrong about your code, // ramonda-check-ignore <reason> on the line says so, and the reason is printed on every run.
Reported when two tags in one Head resolve to the same identity, so only the second is written.
Head keys the tags it writes by what identifies them — a meta by name, property or
http-equiv, a link by rel and href — so that an update REPLACES a tag rather than
appending a second copy. Two entries with one identity are therefore one tag, and the later
silently wins.
Keep the one you meant and delete the other. If both are meant, give them identities that
differ: name and property are two attributes and never collide, even when they spell the
same word, and two link entries differ as soon as their href does.
description is a shorthand for the meta tag named description, and it is collected FIRST,
so writing both loses the shorthand — which is usually the line that was meant.
Two byte-identical entries are not reported: they collapse to the tag they both describe and nothing is lost.
Next
- All rules — the other checks this one runs beside.
- Checking your app — how to run it, and what it proves.