File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed
apps/admin-gui/src/app/vos/components Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 96
96
value ="{{'VO_DETAIL.SETTINGS.APPLICATION_FORM.CLEAR_SELECTION' | translate}} " />
97
97
</ form >
98
98
</ div >
99
- < div
100
- *ngIf ="applicationFormItem.type ==='HEADING' ||
101
- applicationFormItem.type === 'HTML_COMMENT' ">
99
+ < div *ngIf ="applicationFormItem.type ==='HEADING' ">
102
100
< span [innerHTML] ="getLocalizedLabel(applicationFormItem) "> </ span >
103
101
</ div >
102
+ < div *ngIf ="applicationFormItem.type === 'HTML_COMMENT' ">
103
+ < span [innerHTML] ="getLocalizedLabel(applicationFormItem) | sanitizeHtml "> </ span >
104
+ </ div >
104
105
< div *ngIf ="applicationFormItem.type === 'SELECTIONBOX' ">
105
106
< select >
106
107
< option *ngFor ="let item of getLocalizedOptions(applicationFormItem) ">
Original file line number Diff line number Diff line change @@ -129,12 +129,15 @@ <h1 class="page-subtitle">
129
129
</ div >
130
130
131
131
< div
132
- *ngIf ="(applicationFormItem.type ==='HEADING' ||
133
- applicationFormItem.type === 'HTML_COMMENT') &&
134
- applicationFormItem.hidden !== 'ALWAYS' ">
132
+ *ngIf ="applicationFormItem.type ==='HEADING' && applicationFormItem.hidden !== 'ALWAYS' ">
135
133
< span [innerHTML] ="getLocalizedLabel(applicationFormItem) "> </ span >
136
134
</ div >
137
135
136
+ < div
137
+ *ngIf ="applicationFormItem.type === 'HTML_COMMENT' && applicationFormItem.hidden !== 'ALWAYS' ">
138
+ < span [innerHTML] ="getLocalizedLabel(applicationFormItem) | sanitizeHtml "> </ span >
139
+ </ div >
140
+
138
141
< div
139
142
*ngIf ="applicationFormItem.type === 'SELECTIONBOX' &&
140
143
applicationFormItem.hidden !== 'ALWAYS' "
You can’t perform that action at this time.
0 commit comments