Polish Part 3 (#2424)
This commit is contained in:
parent
a018d6828e
commit
944830ca73
62 changed files with 518 additions and 493 deletions
|
|
@ -11,7 +11,7 @@ export class SafeHtmlPipe implements PipeTransform {
|
|||
private readonly dom: DomSanitizer = inject(DomSanitizer);
|
||||
constructor() {}
|
||||
|
||||
transform(value: string): unknown {
|
||||
transform(value: string): string | null {
|
||||
return this.dom.sanitize(SecurityContext.HTML, value);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue