Inline SVGs - massif-press/lancer-data GitHub Wiki

Overview

COMP/CON can accept raw SVG data as a property value for certain UI items. These will be passed through DOMPurify.

SVG data must be a string that consists of valid, renderable SVG data including the tags. Quotes can be escaped with /.

Multi-element SVG (ie. consisting of more than one root element) or any metadata external to the root will not be accepted, and may throw an error or otherwise fail to render.

⚠️ **GitHub.com Fallback** ⚠️