refactor(compiler): fix typo (#41316)

There was  spelling mistake in a comment.

PR Close #41316
This commit is contained in:
Pete Bacon Darwin 2021-03-27 11:31:13 +00:00 committed by Zach Arend
parent d28a391385
commit 71d3b24da3
1 changed files with 1 additions and 1 deletions

View File

@ -550,7 +550,7 @@ function createHostBindingsFunction(
securityContexts.indexOf(core.SecurityContext.URL) > -1 &&
securityContexts.indexOf(core.SecurityContext.RESOURCE_URL) > -1) {
// Special case for some URL attributes (such as "src" and "href") that may be a part
// of different security contexts. In this case we use special santitization function and
// of different security contexts. In this case we use special sanitization function and
// select the actual sanitizer at runtime based on a tag name that is provided while
// invoking sanitization function.
sanitizerFn = o.importExpr(R3.sanitizeUrlOrResourceUrl);