RUAL Documentation

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

Pin Pin Type Default
allowed tags
Given tags will be allowed in the user input (example: div, p)
array
allowed attributes
Given attributes will be allowed in the user input (example: style, id)
array
Pin Pin Type Example
uicomponent
uicomponent

Core Releases

v12.0.5 This block was introduced in v12.0.5, click here to see the release notes.
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