croco-html 0.2.17 → 0.2.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -560,7 +560,8 @@ class HtmlRawViewComponent {
560
560
  this.isInitialized = false;
561
561
  }
562
562
  ngOnInit() {
563
- this._sanitizer.bypassSecurityTrustHtml(this.rawHtml);
563
+ this.safeHtml = this._sanitizer.bypassSecurityTrustHtml(this.rawHtml);
564
+ this.isInitialized = true;
564
565
  }
565
566
  }
566
567
  HtmlRawViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HtmlRawViewComponent, deps: [{ token: i1$1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component });