Fix displayName don't need to be encoded

This commit is contained in:
Lim Chee Aun 2022-12-26 21:19:10 +08:00
parent 8eac16cb46
commit ccb0032f81

View file

@ -276,7 +276,7 @@ function Compose({
)}" width="16" height="16" alt="" loading="lazy" /> )}" width="16" height="16" alt="" loading="lazy" />
</span> </span>
<span> <span>
<b>${encodeHTML(displayNameWithEmoji || username)}</b> <b>${displayNameWithEmoji || username}</b>
<br>@${encodeHTML(acct)} <br>@${encodeHTML(acct)}
</span> </span>
</li> </li>