Skip to content

Attribute value matching does not normalize single quote values #30

@kzu

Description

@kzu

When creating value-matching CSS expressions in C#, it's quite convenient to replace double quotes with single quotes (which is also valid in XML for attributes, FWIW). This avoids having to escape the quotes, when the matched values contain spaces.

In addition to the implicit quotes we already do (i.e. span[text()*=hello world] works just fine), doing normalization on single quotes too would be convenient, since it would Just Work regardless of the quote format you used (or not).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions