bugfix :: linefeed / mass text detail & message-box
This commit is contained in:
parent
f174604296
commit
b08f37f375
|
@ -12,7 +12,10 @@
|
|||
</mat-card-header>
|
||||
<mat-card-content>
|
||||
<perfect-scrollbar>
|
||||
<p [innerHTML]="data.contents | linky" class="contnets"></p>
|
||||
<p
|
||||
[innerHTML]="data.contents | linefeedtohtml | linky"
|
||||
class="contnets"
|
||||
></p>
|
||||
</perfect-scrollbar>
|
||||
</mat-card-content>
|
||||
<mat-card-actions class="button-farm flex-row">
|
||||
|
|
|
@ -2,7 +2,9 @@
|
|||
<div
|
||||
*ngIf="!translationSimpleview || (!!translationSimpleview && !!isMe)"
|
||||
class="original"
|
||||
[innerHTML]="message.sentMessageJson.original | ucapSafeHtml | linky"
|
||||
[innerHTML]="
|
||||
message.sentMessageJson.original | ucapSafeHtml | linefeedtohtml | linky
|
||||
"
|
||||
(contextmenu)="onContextMenuMessage($event, 'original')"
|
||||
></div>
|
||||
<div
|
||||
|
@ -12,7 +14,12 @@
|
|||
>
|
||||
<span class="language">{{ message.sentMessageJson.destLocale }}</span>
|
||||
<span
|
||||
[innerHTML]="message.sentMessageJson.translation | ucapSafeHtml | linky"
|
||||
[innerHTML]="
|
||||
message.sentMessageJson.translation
|
||||
| ucapSafeHtml
|
||||
| linefeedtohtml
|
||||
| linky
|
||||
"
|
||||
>
|
||||
</span>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user