Fixes not rendered in personal note
Use sanitize HTML in personal note component
This commit is contained in:
parent
db3bf4de66
commit
f5fdc37e8e
@ -33,7 +33,7 @@
|
|||||||
<!-- Content -->
|
<!-- Content -->
|
||||||
<ng-container class="meta-text-block-content">
|
<ng-container class="meta-text-block-content">
|
||||||
<ng-container *ngIf="!isEditMode">
|
<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>
|
<div class="no-content" *ngIf="!motion || !motion.hasNotes" translate>
|
||||||
No personal note
|
No personal note
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user