Skip to content

Don't titlecase HTML entity character references #348

@ChrisJohnNewton

Description

@ChrisJohnNewton

For example, I'm seeing & become &Amp;, which makes validation fail using my third-party HTML validator.

There is currently no workaround for this issue that I'm aware of because adding in & into the smallWords parameter doesn't work because line 85 in index.js expects an alphanumeric pattern. So you have to put amp instead of & into the smallWords set - which isn't ideal.

image

Great package by the way.

Thanks

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