Skip to content

Commit b0a0e90

Browse files
committed
Fix DomCrawler html dumping example.
1 parent 35d7bc6 commit b0a0e90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/dom_crawler.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ and :phpclass:`DOMNode` objects:
190190
$html = '';
191191

192192
foreach ($crawler as $domElement) {
193-
$html.= $domElement->ownerDocument->saveHTML();
193+
$html.= $domElement->ownerDocument->saveHTML($domElement);
194194
}
195195

196196
Form and Link support

0 commit comments

Comments
 (0)