File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -654,16 +654,15 @@ another given base URI::
654654Using a HTML5 Parser
655655~~~~~~~~~~~~~~~~~~~~
656656
657- You can specify to the :class: `Symfony\\ Component\\ DomCrawler\\ Crawler ` to use
658- an HTML5 parser when instantiating it by setting the ``useHtml5Parser `` constructor
659- argument to ``true ``::
657+ If you need the :class: `Symfony\\ Component\\ DomCrawler\\ Crawler ` to use an HTML5
658+ parser, set its ``useHtml5Parser `` constructor argument to ``true ``::
660659
661660 use Symfony\Component\DomCrawler\Crawler;
662661
663662 $crawler = new Crawler(null, $uri, useHtml5Parser: true);
664663
665- By doing do, the crawler will use the parser from the `masterminds/html5 `_ library internally to parse
666- documents.
664+ By doing do, the crawler will use the HTML5 parser provided by the `masterminds/html5 `_
665+ library to parse the documents.
667666
668667.. versionadded :: 6.3
669668
You can’t perform that action at this time.
0 commit comments