Skip to content

Low priority: Entity encoding of quotes in attribute values #49

@cramforce

Description

@cramforce

Hey,

It is pretty common (and this is how JSDOM behaves) for HTML serializers to allow special-casing the single quote ' to not be encoded when using double-quote " as the attribute value delimiter.

While the current behavior works perfectly fine, it does make quote-heavy content like CSPs or SVG-data-URIs very busy to read.

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