fix bio being interpreted as html for editing

This commit is contained in:
Henry Jameson 2026-03-06 13:04:33 +02:00
commit 98e2a60948
2 changed files with 5 additions and 1 deletions

View file

@ -358,7 +358,7 @@
v-if="!hideBio"
class="user-card-bio"
:class="{ '-justify-left': mergedConfig.userCardLeftJustify }"
:html="editable ? newBio.replace(/\n/g, '<br>') : user.description_html"
:html="editable ? escapedNewBio : user.description_html"
:emoji="editable ? emoji : user.emoji"
:handle-links="true"
/>