Skip to content

Commit 7b4c5eb

Browse files
author
Andrea Barbasso
committed
[DSC-2724] fix heading
1 parent f62fa62 commit 7b4c5eb

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<h1 *ngIf="name">{{ name }}</h1>
1+
<h1 *ngIf="name" [innerHTML]="name | dsEscapeHtml"></h1>

src/app/shared/comcol/comcol-page-header/comcol-page-header.component.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,15 @@ import {
44
Input,
55
} from '@angular/core';
66

7+
import { EscapeHtmlPipe } from '../../utils/escape-html.pipe';
8+
79
@Component({
810
selector: 'ds-comcol-page-header',
911
styleUrls: ['./comcol-page-header.component.scss'],
1012
templateUrl: './comcol-page-header.component.html',
1113
imports: [
1214
NgIf,
15+
EscapeHtmlPipe,
1316
],
1417
standalone: true,
1518
})

0 commit comments

Comments
 (0)