diff --git a/src/app/components/fragments/content-choice-participant/content-choice-participant.component.html b/src/app/components/fragments/content-choice-participant/content-choice-participant.component.html index c6f2a01e4e2da3e0fdf16aa0a8e57f385d23168b..8b1c9d4551316e406e7c2f6d0f733a1074be338c 100644 --- a/src/app/components/fragments/content-choice-participant/content-choice-participant.component.html +++ b/src/app/components/fragments/content-choice-participant/content-choice-participant.component.html @@ -1,6 +1,6 @@ <form (ngSubmit)="submitAnswer()"> <h1 class="mat-headline">{{ content.subject }}</h1> - <p>{{ content.body }}</p> + <markdown [data]="content.body"></markdown> <mat-divider></mat-divider> <mat-list *ngIf="content.multiple"> <mat-list-item *ngFor="let answer of checkedAnswers"> diff --git a/src/app/components/fragments/content-text-participant/content-text-participant.component.html b/src/app/components/fragments/content-text-participant/content-text-participant.component.html index ca53d5933fb9633d531ba5a3419204292c527012..054b96dcbfb4915eefb2cab789c72720f1f32a11 100644 --- a/src/app/components/fragments/content-text-participant/content-text-participant.component.html +++ b/src/app/components/fragments/content-text-participant/content-text-participant.component.html @@ -1,6 +1,6 @@ <form (ngSubmit)="submitAnswer()"> <h1 class="mat-headline">{{ content.subject }}</h1> - <p>{{ content.body }}</p> + <markdown [data]="content.body"></markdown> <mat-divider></mat-divider> <mat-form-field class="input-block"> <textarea matInput [(ngModel)]="textAnswer" name="answer" #answer placeholder="Your answer"></textarea>