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`
129
129
130
130
and :method: `Symfony\\ Component\\ DomCrawler\\ Crawler::filter `::
131
131
132
- use Symfony\Component\CssSelector\CssSelector;
133
-
134
- CssSelector::disableHtmlExtension();
135
132
$crawler = $crawler->filter('default|entry media|group yt|aspectRatio');
136
133
137
134
.. note ::
@@ -150,12 +147,6 @@ Namespaces can be explicitly registered with the
150
147
$crawler->registerNamespace('m', 'http://search.yahoo.com/mrss/');
151
148
$crawler = $crawler->filterXPath('//m:group//yt:aspectRatio');
152
149
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
-
159
150
Node Traversing
160
151
~~~~~~~~~~~~~~~
161
152
You can’t perform that action at this time.
0 commit comments