File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -129,9 +129,6 @@ aliases both with :method:`Symfony\\Component\\DomCrawler\\Crawler::filterXPath`
129129
130130and :method: `Symfony\\ Component\\ DomCrawler\\ Crawler::filter `::
131131
132- use Symfony\Component\CssSelector\CssSelector;
133-
134- CssSelector::disableHtmlExtension();
135132 $crawler = $crawler->filter('default|entry media|group yt|aspectRatio');
136133
137134.. note ::
@@ -150,12 +147,6 @@ Namespaces can be explicitly registered with the
150147 $crawler->registerNamespace('m', 'http://search.yahoo.com/mrss/');
151148 $crawler = $crawler->filterXPath('//m:group//yt:aspectRatio');
152149
153- .. caution ::
154-
155- To query XML with a CSS selector, the HTML extension needs to be disabled with
156- :method: `CssSelector::disableHtmlExtension <Symfony\\ Component\\ CssSelector\\ CssSelector::disableHtmlExtension> `
157- to avoid converting the selector to lowercase.
158-
159150Node Traversing
160151~~~~~~~~~~~~~~~
161152
You can’t perform that action at this time.
0 commit comments