Skip to content

Commit 52e5cdb

Browse files
Mattia VianelliMattia Vianelli
authored andcommitted
DSC-2759 Rollback dsEscapeHtml pipe
1 parent d752c9e commit 52e5cdb

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/app/shared/utils/escape-html.pipe.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import {
99

1010
@Pipe({
1111
name: 'dsEscapeHtml',
12-
standalone: true,
1312
})
1413
export class EscapeHtmlPipe implements PipeTransform {
1514
/**
@@ -18,8 +17,7 @@ export class EscapeHtmlPipe implements PipeTransform {
1817
*/
1918
private readonly allowedTags: string[] = ['em', 'strong'];
2019

21-
constructor(private sanitizer: DomSanitizer) {
22-
}
20+
constructor(private sanitizer: DomSanitizer) {}
2321

2422
/**
2523
* Escape HTML special characters and convert newlines to <br>

0 commit comments

Comments
 (0)