Answers for "Required a safe HTML, got a ResourceURL"

2

unsafe value used in a resource URL context

transform(url) {
    return this.sanitizer.bypassSecurityTrustResourceUrl(url);
  }
Posted by: Guest on June-04-2020
1

Required a safe HTML, got a ResourceURL

use .bypassSecurityTrustHtml instead
Posted by: Guest on May-21-2021

Code answers related to "Required a safe HTML, got a ResourceURL"

Code answers related to "Javascript"

Browse Popular Code Answers by Language