Skip to content

Commit 5443ff9

Browse files
authored
docs: add note about sanitizer when using textTemplate
1 parent ef73f1e commit 5443ff9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/demo/src/examples/example16.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ <h2 class="bd-title">
1818
</span>
1919
</h2>
2020
<div class="demo-subtitle">
21-
Display avatar images by using <code>textTemplate</code> to render HTML with image src.
21+
Display avatar images by using <code>textTemplate</code> to render HTML with image src. Note that the use of <code>sanitizer</code> with tools like DOM Purify is recommended when using <code>textTemplate</code>.
2222
</div>
2323
</div>
2424
</div>

0 commit comments

Comments
 (0)