From fb82558d78f656092eff9601a3505e63c2612e78 Mon Sep 17 00:00:00 2001 From: Theoklitos Bampouris Date: Fri, 26 Feb 2021 16:53:06 +0200 Subject: [PATCH] docs: Change lexical in security guide (#41016) Change `onerror` attribute reference to `script` element reference PR Close #41016 --- aio/content/guide/security.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/content/guide/security.md b/aio/content/guide/security.md index 1f9dd4963d..fb7f318b2a 100644 --- a/aio/content/guide/security.md +++ b/aio/content/guide/security.md @@ -94,7 +94,7 @@ vulnerability. For example, one could execute JavaScript in a following way: -Angular recognizes the value as unsafe and automatically sanitizes it, which removes the `onerror` attribute but keeps safe content such as the `` element. +Angular recognizes the value as unsafe and automatically sanitizes it, which removes the `script` element but keeps safe content such as the `` element.