mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 12:13:48 +01:00
[mastodon-client] render bio newlines correctly
This commit is contained in:
parent
9d37f01113
commit
7f7eb301a0
@ -161,7 +161,7 @@ namespace MisskeyAPI {
|
||||
followers_count: u.followersCount,
|
||||
following_count: u.followingCount,
|
||||
statuses_count: u.notesCount,
|
||||
note: u.description,
|
||||
note: u.description?.replace(/\n|\\n/g, '<br>') ?? '',
|
||||
url: acctUrl,
|
||||
avatar: u.avatarUrl,
|
||||
avatar_static: u.avatarUrl,
|
||||
|
Loading…
Reference in New Issue
Block a user