Skip to content

Commit 0f09e8e

Browse files
[UXP-118] fix of displaying CMS header/footer/news section
1 parent c46d726 commit 0f09e8e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/shared/explore/section-component/text-section/text-section.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div *ngSwitchCase="'image'"><img [src]="textRowSection.content" style="width: 100%"></div>
33
<div *ngSwitchCase="'text-key'">{{ ('explore.text-section.' + textRowSection.content) | translate }}</div>
44
<div *ngSwitchCase="'text-raw'">{{ textRowSection.content }}</div>
5-
<ds-markdown-viewer *ngSwitchCase="'text-metadata'" data-test="ds-markdown-viewer" [value]="metadataValue(textRowSection.content)"></ds-markdown-viewer>
5+
<div *ngSwitchCase="'text-metadata'" [innerHTML]="metadataValue(textRowSection.content)" [class.text-section-home-news]="textRowSection.content === 'cris.cms.home-news'"></div>
66
<div *ngSwitchCase="'custom'">
77
<ng-container *ngTemplateOutlet="custom"></ng-container>
88
</div>

0 commit comments

Comments
 (0)