OpenSlides/client/src/app/slides/topics/topic/topic-slide.component.html
Sean Engelhardt 4e0f1409db Add trust pipe and remove duplicated functions
Adds a new shared pipe to set trusted HTML directly
from HTML components.
Removes all duplicates of "bypassSecurityTrustHtml"
2019-09-16 16:24:40 +02:00

11 lines
247 B
HTML

<div *ngIf="data">
<h1>
<span *ngIf="data.data.item_number">
{{ data.data.item_number }} &middot;
</span>
{{ data.data.title }}
</h1>
<div [innerHTML]="data.data.text | trust: 'html'"></div>
</div>