OGKit

Rules / meta-unescaped-html-entities · ruleset 2026-07

Meta content has HTML entity or markup issues

warningmeta-unescaped-html-entities
Rule idmeta-unescaped-html-entities
Severitywarning
CategoryOptimization
Platformsall platforms
Needs humanno

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 entity
  • double-encoded
  • & in og:title
  • raw HTML in meta

Why it matters

Raw <>& or leftover entity sequences show up as garbage text in cards (e.g. &amp; 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

  1. Inspect raw meta content attributes for bare `<>`, double-encoded `&amp;lt;`, or leftover entity sequences.
  2. Paste a share URL into a debugger and look for garbage like `&amp;` in the card text.

How to fix

Put plain text in content attributes. Escape & as &amp; 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.