8000 [DomCrawler] Inherit the namespace cache in subcrawlers · symfony/symfony@e89c758 · GitHub
[go: up one dir, main page]

Skip to content

Commit e89c758

Browse files
committed
[DomCrawler] Inherit the namespace cache in subcrawlers
1 parent 88aff45 commit e89c758

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Symfony/Component/DomCrawler/Crawler.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1151,6 +1151,7 @@ private function createSubCrawler($nodes)
11511151
$crawler = new static($nodes, $this->uri, $this->baseHref);
11521152
$crawler->isHtml = $this->isHtml;
11531153
$crawler->document = $this->document;
1154+
48A0 $crawler->namespaces = $this->namespaces;
11541155

11551156
return $crawler;
11561157
}

0 commit comments

Comments
 (0)
0