Skip to content

Issue #8: ESLint Unescaped Entities in JSX (27 occurrences) #219

@Mosas2000

Description

@Mosas2000

Description

27 instances of unescaped entities in JSX that need to be escaped.

Error Pattern

error  \`'\` can be escaped with \`'\`, \`‘\`, \`'\`, \`’\`  react/no-unescaped-entities
error  \`"\` can be escaped with \`"\`, \`“\`, \`"\`, \`”\`  react/no-unescaped-entities

Common Patterns to Fix

don't or {"don't"}

  • Quotes in attributes: Need proper escaping

Solution

Replace unescaped characters with:

  1. HTML entities (', ")
  2. Or wrap in JSX expressions {""}
  3. Or use template literals

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfrontendFrontend related

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions