Skip to content

Commit ac05660

Browse files
committed
minor #14191 Update dom_crawler.rst (ThomasLandauer)
This PR was squashed before being merged into the 4.4 branch. Discussion ---------- Update dom_crawler.rst Adding link to https://symfony.com/doc/4.4/components/css_selector.html Commits ------- 28d3881 Update dom_crawler.rst
2 parents f9eea33 + 28d3881 commit ac05660

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/dom_crawler.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ Using XPath expressions, you can select specific nodes within the document::
9292

9393
``DOMXPath::query`` is used internally to actually perform an XPath query.
9494

95-
If you prefer CSS selectors over XPath, install the CssSelector component.
96-
It allows you to use jQuery-like selectors to traverse::
95+
If you prefer CSS selectors over XPath, install :doc:`/components/css_selector`.
96+
It allows you to use jQuery-like selectors::
9797

9898
$crawler = $crawler->filter('body > p');
9999

@@ -109,7 +109,7 @@ An anonymous function can be used to filter with more complex criteria::
109109
return ($i % 2) == 0;
110110
});
111111

112-
To remove a node the anonymous function must return false.
112+
To remove a node, the anonymous function must return ``false``.
113113

114114
.. note::
115115

0 commit comments

Comments
 (0)