Skip to content

Cannot find tags that have additional classes #80

Description

@komputronika

find method cannot find tag that has additional classes.

For example, I want to find all tags that have 'services' class:

<div class='services'> or
<div class='services last-item'> or
<div class='services active'>

But, If I run:

$html->find('div[class=services]'); 

I will only get one result:

<div class='services'>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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