Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions components/dom_crawler.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,13 @@ tree.
isn't meant to dump content, you can see the "fixed" version of your HTML
by :ref:`dumping it <component-dom-crawler-dumping>`.

.. note::

When available, the DomCrawler will use the
[html5-php library](https://github.com/Masterminds/html5-php) to parse HTML content.
If you need to support specific HTML5 tags ou if you are getting unexpected behaviors
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ou -> or ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed!

using the DomCrawler, you can install the library to fix the problem.

Node Filtering
~~~~~~~~~~~~~~

Expand Down