Skip to content

Commit 85a297a

Browse files
committed
Minor improvement in the DomCrawler + HTML5 explanation
1 parent 3f83193 commit 85a297a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

components/dom_crawler.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,9 @@ tree.
7373
.. note::
7474

7575
If you need better support for HTML5 contents or want to get rid of the
76-
inconsistencies of PHP's DOM extension, install the `html5-php library`_.
77-
The DomCrawler component uses it automatically when available.
76+
inconsistencies of PHP's DOM extension, install the `html5-php library`_
77+
and the DomCrawler component will use it automatically when the content has
78+
an HTML5 doctype.
7879

7980
.. versionadded:: 4.3
8081

0 commit comments

Comments
 (0)