docs(core): update security guide sanitize example (#26777)
The sanitizer now removes the content of script tags as well as the tag itself. PR Close #26777
This commit is contained in:
parent
d878f3df93
commit
aefa06f7df
|
@ -119,7 +119,7 @@ vulnerability. For example, code contained in a `<script>` tag is executed:
|
|||
|
||||
|
||||
Angular recognizes the value as unsafe and automatically sanitizes it, which removes the `<script>`
|
||||
tag but keeps safe content such as the text content of the `<script>` tag and the `<b>` element.
|
||||
tag but keeps safe content such as the `<b>` element.
|
||||
|
||||
|
||||
<figure>
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 27 KiB |
Loading…
Reference in New Issue