Skip to content

[Bug] Cannot find element only be attribute name #95

@oleg-andreyev

Description

@oleg-andreyev

It should be possible to find tags only by attribute name: [attr-name]
Right now it's impossible because:

if ($rule['key'] != 'plaintext' && is_null($child->getAttribute($rule['key']))) {
  $pass = false;
}

Is forcing that have an value

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