diff --git a/components/dom_crawler.rst b/components/dom_crawler.rst index 4a4da289d4f..3688e07c97c 100644 --- a/components/dom_crawler.rst +++ b/components/dom_crawler.rst @@ -232,6 +232,12 @@ and :phpclass:`DOMNode` objects: The ``html`` method is new in Symfony 2.3. + .. caution:: + + Due to an issue in PHP, the ``html()`` method returns wrongly decoded HTML + entities in PHP versions lower than 5.3.6 (for example, it returns ``•`` + instead of ``•``). + Links ~~~~~