The Parse HTML block for Nodestly workflows reads structured data from HTML markup.
Use it when
Parse supplied HTML text into a neutral element-and-text tree without browser execution.
Inputs and outputs
- HTML —
text, required. - HTML tree — output
record.
Controls
This object has no hidden settings; behavior is fully determined by connected input.
Rules
The local parser accepts balanced explicit tags, standard void elements, comments, one optional doctype, quoted or unquoted attributes, and six named plus numeric entities. It lowercases tag and attribute names, limits input to 131,072 characters, 5,000 nodes, 4 element levels, and 128 attributes per element so the returned tree fits Nodestly's workflow data rules. It does not apply browser error correction, optional closing rules, DOM behavior, scripts, styles, selectors, or network access.
Example
<p>Hello <b>Ada</b></p> becomes a document record containing nested p, text, b, and text nodes.
Failure behavior
Missing inputs, wrong connector values, unsafe records, unsupported values, cycles, unsupported modes, and size-limit violations stop the workflow and mark this block. Correct the highlighted connector or setting, then run again. Inputs are never changed.
Errors and recovery
When this block reports an error, no downstream output is emitted. Correct the highlighted input or setting described by the message, then run the workflow again.
Connector data types
The type below is the data type that actually travels through the connection. Any additional validation is described separately in this block guide.
| Direction | Connector | Type | Required |
|---|---|---|---|
| Input | html — HTML | text | yes |
| Output | result — HTML tree | record | on success |
