We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83b7cfd commit 2b90b63Copy full SHA for 2b90b63
src/routes/reference/jsx-attributes/innerhtml.mdx
@@ -5,4 +5,8 @@ title: innerHTML
5
The `innerHTML` attribute is equivalent to the [`innerHTML` DOM property](https://developer.mozilla.org/en-US/docs/Web/API/Element/innerHTML).
6
This attribute replaces all existing nodes of the element with new nodes generated by parsing the provided string as HTML.
7
8
-Note that using `innerHTML` with unsanitized user-supplied data can introduce security vulnerabilities.
+<Callout type="caution">
9
+
10
+Using `innerHTML` with unsanitized user-supplied data can introduce security vulnerabilities.
11
12
+</Callout>
0 commit comments