HTML Renderer

Render HTML, sanitizing it first

by @pixiebrix

How to Use

This HTML Renderer brick can be used to insert HTML into wherever the blueprint is rendering to. There are some limitations such as not allowing Javascript or some advanced css features, but for the most part any HTML will work.

Additional resources

https://www.w3schools.com/html/

For displaying data more dynamically such as duplicating an element for each item in an array, look into Nunjucks: https://mozilla.github.io/nunjucks/templating.html


Inputs

Name Required Type Description
html string The HTML string to render
allowIFrames boolean Toggle to allow the iframe tag and generally safe frame attributes

Outputs

Name Required Type Description
No outputs for this brick defined.

Related Tags