|
@@ -2,7 +2,7 @@
|
|
<div>
|
|
<div>
|
|
<div class="tweet-array">
|
|
<div class="tweet-array">
|
|
<span class="tweet-array-part" *ngFor="let part of tweetArray">
|
|
<span class="tweet-array-part" *ngFor="let part of tweetArray">
|
|
- <span *ngIf="part.type =='text'" class="text">{{ part.text }}</span>
|
|
|
|
|
|
+ <span *ngIf="part.type =='text'" class="text" [innerHtml]="part.text"></span>
|
|
<a *ngIf="part.type == 'url'" href="{{ part.url }}">{{ part.text }}</a>
|
|
<a *ngIf="part.type == 'url'" href="{{ part.url }}">{{ part.text }}</a>
|
|
<mention *ngIf="part.type == 'user_mention'" [username]="part.text" [userId]="part.userId"></mention>
|
|
<mention *ngIf="part.type == 'user_mention'" [username]="part.text" [userId]="part.userId"></mention>
|
|
<hashtag *ngIf="part.type == 'hashtag'" [hashtag]="part.text"></hashtag>
|
|
<hashtag *ngIf="part.type == 'hashtag'" [hashtag]="part.text"></hashtag>
|