Skip to content

Warning about fixing HTML DOM tree #2651

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion book/doctrine.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1462,7 +1462,7 @@ and ``nullable``. Take a few examples:
<!--
A string field length 255 that cannot be null
(reflecting the default values for the "length" and *nullable* options)
type attribute is necessary in yaml definitions
type attribute is necessary in xml definitions
-->
<field name="name" type="string" />
<field name="email"
Expand Down
5 changes: 4 additions & 1 deletion components/dom_crawler.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ The DomCrawler Component
.. note::

While possible, the DomCrawler component is not designed for manipulation
of the DOM or re-dumping HTML/XML.
of the DOM or re-dumping HTML/XML. However the DomCrawler will attempt to
automatically fix your HTML to match the official specification. Take note
about this behaviour as you could be working with a different DOM after it
has been parsed with the DomCrawler.

Installation
------------
Expand Down