Strip HTML

text · A176 · starter-package 7.0.1

The Strip HTML block for Nodestly workflows removes HTML tags from text.

Use it when

Extract decoded text from bounded HTML while choosing collapsed or preserved whitespace.

Inputs and outputs

  • HTML — text, required.
  • Text — output text.

Controls

  • Whitespace — default collapse; choices: collapse, preserve.

Rules

Strip HTML first applies the same strict balanced local parser and four-element nesting limit as Parse HTML. Tags are never executed. Entities are decoded, comments and doctype are omitted, and Collapse turns every whitespace run into one space while Preserve concatenates decoded text nodes exactly.

Example

<p>Hello&nbsp;<b>Ada</b></p> with Collapse returns Hello Ada.

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.

Exact settings reference

These are the saved settings and defaults. If a value is connected to the matching input, that connected value is used.

IDSettingControlDefaultBounds/options
whitespaceWhitespacetogglecollapseoptions: Collapse (collapse), Preserve (preserve)

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.

DirectionConnectorTypeRequired
Inputhtml — HTMLtextyes
Outputresult — Texttexton success