We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c46d726 commit 0f09e8eCopy full SHA for 0f09e8e
1 file changed
src/app/shared/explore/section-component/text-section/text-section.component.html
@@ -2,7 +2,7 @@
2
<div *ngSwitchCase="'image'"><img [src]="textRowSection.content" style="width: 100%"></div>
3
<div *ngSwitchCase="'text-key'">{{ ('explore.text-section.' + textRowSection.content) | translate }}</div>
4
<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>
+ <div *ngSwitchCase="'text-metadata'" [innerHTML]="metadataValue(textRowSection.content)" [class.text-section-home-news]="textRowSection.content === 'cris.cms.home-news'"></div>
6
<div *ngSwitchCase="'custom'">
7
<ng-container *ngTemplateOutlet="custom"></ng-container>
8
</div>
0 commit comments