Required a safe HTML, got a ResourceURL code example
Example 1: unsafe value used in a resource URL context
transform(url) {
return this.sanitizer.bypassSecurityTrustResourceUrl(url);
}
Example 2: Required a safe HTML, got a ResourceURL
use .bypassSecurityTrustHtml instead