Skip to content

Commit

Permalink
docs: remove mention of style sanitization. (#55553)
Browse files Browse the repository at this point in the history
fixes #49566

PR Close #55553
  • Loading branch information
JeanMeche authored and AndrewKushnir committed Apr 26, 2024
1 parent 1ca24cb commit 04d77d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adev/src/content/guide/security.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Angular defines the following security contexts:
| URL | Used for URL properties, such as `<a href>`. |
| Resource URL | A URL that is loaded and executed as code, for example, in `<script src>`. |

Angular sanitizes untrusted values for HTML, styles, and URLs. Sanitizing resource URLs isn't possible because they contain arbitrary code.
Angular sanitizes untrusted values for HTML and URLs. Sanitizing resource URLs isn't possible because they contain arbitrary code.
In development mode, Angular prints a console warning when it has to change a value during sanitization.

### Sanitization example
Expand Down

0 comments on commit 04d77d5

Please sign in to comment.