Skip to content

It unescapes HTML entities #3

@mitchellevan

Description

@mitchellevan

Current behavior

The input contains an ampersand as an HTML entity.

<button>Apples &amp; Oranges</button>

In the output, the ampersand is changed to a single character. Probably because that's what <textarea> does.

<button>Apples & Oranges</button>

Expected behavior

The HTML entity should be unchanged.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions