From 6e2f04a313944473d47d222164ea4c95230f27c0 Mon Sep 17 00:00:00 2001 From: Titouan Galopin Date: Sat, 24 Nov 2018 15:17:38 +0100 Subject: [PATCH] [DomCrawler] Add note about the HTML5 parser library --- components/dom_crawler.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/components/dom_crawler.rst b/components/dom_crawler.rst index 60f6cb5186e..8901ebd53e9 100644 --- a/components/dom_crawler.rst +++ b/components/dom_crawler.rst @@ -72,6 +72,13 @@ tree. isn't meant to dump content, you can see the "fixed" version of your HTML by :ref:`dumping it `. +.. 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 + using the DomCrawler, you can install the library to fix the problem. + Node Filtering ~~~~~~~~~~~~~~