Skip to content

[Bug] Elements not found #104

@HarpyWar

Description

@HarpyWar

HTML document example http://pastebin.com/mp2vBeV7

$dom->find('a'); return wrong count of elements. Or $dom->find('.ctitem');, or $dom->find('.link_item_block');.
I think it's because of many tags inside <a> element. It seems to work if clean them all.

But anyway it's a bug. Regular PHP DomDocument with DomXPath works fine with this HTML example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions