mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-23 20:53:09 +02:00
fix: new lines in description not being translated
This commit is contained in:
parent
2ea6e0a579
commit
219b45a3c0
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ namespace MisskeyAPI {
|
|||
followers_count: u.followersCount,
|
||||
following_count: u.followingCount,
|
||||
statuses_count: u.notesCount,
|
||||
note: u.description ? u.description : '',
|
||||
note: u.description ? u.description.replace(/\n|\\n/g, "<br>") : '',
|
||||
url: acctUrl,
|
||||
avatar: u.avatarUrl,
|
||||
avatar_static: u.avatarUrl,
|
||||
|
|
Loading…
Reference in a new issue