MCPcopy Create free account
hub / github.com/angular/angular / bypassSanitizationTrustUrl

Function bypassSanitizationTrustUrl

packages/core/src/sanitization/bypass.ts:185–187  ·  view source on GitHub ↗
(trustedUrl: string)

Source from the content-addressed store, hash-verified

183 * @returns a `url` which has been branded to be implicitly trusted.
184 */
185export function bypassSanitizationTrustUrl(trustedUrl: string): SafeUrl {
186 return new SafeUrlImpl(trustedUrl);
187}
188/**
189 * Mark `url` string as trusted.
190 *

Callers 3

Calls

no outgoing calls

Tested by

no test coverage detected