Blocks Deprecated
Deprecated: use the web blocks for new pages This block belongs to state pages and UI components. Existing pages keep running, but new pages should use the web blocks. See Web Pages and the migration guide.

sanitize user input

This block is part of the Component UI group and was last modified in core v12.0.5.

sanitize user input v12.0.5

Sanitizes the input and returns the text without an element wrapper if no attributes or outlet are set. If either one is set the text will be wrapped with a span

In pins 3
  • value uicomponent required
  • allowed tags array

    Given tags will be allowed in the user input (example: div, p)

  • allowed attributes array

    Given attributes will be allowed in the user input (example: style, id)

Out pins 1
  • uicomponent uicomponent

A typical wiring for sanitize user input: the uicomponent out pin feeds build PDF.

Studio canvas example for the sanitize user input block: typical wiring for sanitize user input.

Version history

Introduced in v12.0.5.


Back to Component UI Return to the main group to view all sub-groups Back to typography Return to the group to view all blocks within this group