Rules / meta-unescaped-html-entities · ruleset 2026-07
Meta content has HTML entity or markup issues
| Rule id | meta-unescaped-html-entities |
|---|---|
| Severity | warning |
| Category | Optimization |
| Platforms | all platforms |
| Needs human | no |
What this is
Meta content has HTML entity or markup issues. OGKit rule meta-unescaped-html-entities (warning). The id is a public API for the docs URL and CI --disable key; do not rename it.
Search phrases that should land on this page:
Meta content has HTML entitydouble-encoded& in og:titleraw HTML in meta
Why it matters
Raw <>& or leftover entity sequences show up as garbage text in cards (e.g. & visible to users, or truncated HTML tags).
Which platforms are affected
All OGKit platform profiles, including major social, chat, and search crawlers that consume these tags.
Platform-specific crawler budgets and field priority live in the platform behaviour reference.
How to reproduce
- Inspect raw meta content attributes for bare `<>`, double-encoded `&lt;`, or leftover entity sequences.
- Paste a share URL into a debugger and look for garbage like `&` in the card text.
How to fix
Put plain text in content attributes. Escape & as & once; do not double-encode. Never paste HTML markup into OG fields.
No single template snippet applies; use the measured and expected values in an OGKit finding.