Skip to content

Single and double CloseCurlyQuote entities aren’t properly encoded #15

@acusti

Description

@acusti

The problem is with (i.e. ’) and (i.e. ”), which are encoded as ’ and ”, respectively.

See this test case

UPDATE: It seems that the issue is specific to the Html5Entities class. When I repeated the test using require('html-entities').Html4Entities, the encoding worked (see updated test case above).

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