Skip to content

Version 5.7.x stops decoding HTML entities by default #829

@nunomarks

Description

@nunomarks

Description

It seems like 5.7.0 introduced a change to how it decodes HTML entities. I suspect this is the bump from @nodable/entities@1.1.0 to @nodable/entities@2.1.0. If an XML value includes a numeric HTML entity such as ' (apostrophe), it doesn't get decoded.

Expected behaviour

' should get decoded to '.

Observed behaviour

' doesn't get decoded.

Status

For now we're stuck with 5.6.0, but this is breaking in the sense that the parsing doesn't produce the same string values.

Environment

  • Lib Version: 5.7.0 / 5.7.1 / 5.7.2
  • Node Version: 24.15.0

Should you need more information, please let me know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions