Skip to content

Commit 4094b55

Browse files
committed
[symfony#2550] Tweaks for dom crawler character set note
1 parent 32faf96 commit 4094b55

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

components/dom_crawler.rst

+4-3
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,10 @@ The crawler supports multiple ways of adding the content::
162162

163163
.. note::
164164

165-
When dealing with other character sets than ISO-8859-1, always add HTML content
166-
using the addHTMLContent method where you can specify the second parameter
167-
to be your target character set.
165+
When dealing with character sets other than ISO-8859-1, always add HTML
166+
content using the :method:`Symfony\\Component\\DomCrawler\\Crawler::addHTMLContent``
167+
method where you can specify the second parameter to be your target character
168+
set.
168169

169170
As the Crawler's implementation is based on the DOM extension, it is also able
170171
to interact with native :phpclass:`DOMDocument`, :phpclass:`DOMNodeList`

0 commit comments

Comments
 (0)