The value assigned to this component will be rendered as-is, without altering its contents. It's intended for outputting pre-formatted HTML, for example, where the formatting is arbitrary, or expensive to calculate. The body of this component is ignored, and won't be rendered. Warning: this component outputs value as unescaped HTML, which introduces the possibility of security vulnerabilities in your code. You must sanitize user input before rendering it unescaped, or you will create a cross-site scripting (XSS) vulnerability. Only use <aura:unescapedHtml> with trusted or sanitized sources of data.
Attributes
Attribute Name |
Attribute Type |
Description |
Required? |
body |
Component[] |
The body of <aura:unescapedHtml> is ignored and won't be rendered. |
|
value |
String |
The string that should be rendered as unescaped HTML. |
|