bugfix :: linefeed / mass text detail & message-box

This commit is contained in:
leejh 2020-02-21 17:32:29 +09:00
parent f174604296
commit b08f37f375
2 changed files with 13 additions and 3 deletions

View File

@ -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">

View File

@ -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>