Skip to main content

spec-char-escape

Special characters must be escaped.

Level: error

Config value

  1. true: enable rule
  2. false: disable rule

The following pattern are not considered violations:

<span>aaa&gt;bbb&lt;ccc</span>

The following pattern is considered violation:

<span>aaa>bbb<ccc</span>