Skip to content

character-reference 🔧 ​

Detect unescaped & characters.

Severity ​

warning

❌ Incorrect ​

html
<p>A & B</p>

✅ Correct ​

html
<p>A &amp; B</p>

Reference ​

Configuration ​

json
{
  "rules": {
    "character-reference": "error"
  }
}

Released under the MIT License.