Skip to content

Commit 2b90b63

Browse files
committed
add callout
1 parent 83b7cfd commit 2b90b63

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/routes/reference/jsx-attributes/innerhtml.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,8 @@ title: innerHTML
55
The `innerHTML` attribute is equivalent to the [`innerHTML` DOM property](https://developer.mozilla.org/en-US/docs/Web/API/Element/innerHTML).
66
This attribute replaces all existing nodes of the element with new nodes generated by parsing the provided string as HTML.
77

8-
Note that using `innerHTML` with unsanitized user-supplied data can introduce security vulnerabilities.
8+
<Callout type="caution">
9+
10+
Using `innerHTML` with unsanitized user-supplied data can introduce security vulnerabilities.
11+
12+
</Callout>

0 commit comments

Comments
 (0)