Skip to content

Commit 699e637

Browse files
committed
Reworded the notice as a caution
1 parent c47ec88 commit 699e637

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

components/dom_crawler.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,12 @@ and :phpclass:`DOMNode` objects:
231231
$html = $crawler->html();
232232

233233
The ``html`` method is new in Symfony 2.3.
234-
In PHP < 5.3.6 it might return html entities which are not properly decoded.
234+
235+
.. caution::
236+
237+
Due to an issue in PHP, the ``html()`` method returns wrongly decoded HTML
238+
entities in PHP versions lower than 5.3.6 (for example, it returns ````
239+
instead of ``&bull;``).
235240

236241
Links
237242
~~~~~

0 commit comments

Comments
 (0)