Fixes not rendered in personal note

Use sanitize HTML in personal note component
This commit is contained in:
Sean Engelhardt 2019-06-19 16:49:14 +02:00
parent db3bf4de66
commit f5fdc37e8e

View File

@ -33,7 +33,7 @@
<!-- Content -->
<ng-container class="meta-text-block-content">
<ng-container *ngIf="!isEditMode">
<div *ngIf="motion && motion.personalNote" [innerHTML]="personalNoteText"></div>
<div *ngIf="motion && motion.personalNote" [innerHTML]="sanitizeText(personalNoteText)"></div>
<div class="no-content" *ngIf="!motion || !motion.hasNotes" translate>
No personal note
</div>