fix(profile): preserve bio line breaks in profile views (#37)

Signed-off-by: Marcus Fihlon <marcus@fihlon.swiss>
This commit is contained in:
Marcus Fihlon 2026-05-05 11:35:13 +02:00 committed by GitHub
parent b88e6b0a95
commit 8097d876e5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -46,7 +46,7 @@
<p class="text-muted mb-2"> <p class="text-muted mb-2">
<span id="username"></span> <span id="username"></span>
</p> </p>
<p id="bio" class="mb-3"></p> <p id="bio" class="mb-3 preserve-linebreaks"></p>
</div> </div>
<div id="followButtonContainer" class="d-none"> <div id="followButtonContainer" class="d-none">
<button class="btn btn-primary" id="followBtn"> <button class="btn btn-primary" id="followBtn">

View file

@ -46,7 +46,7 @@
<p class="text-muted mb-2"> <p class="text-muted mb-2">
<span id="username"></span> <span id="username"></span>
</p> </p>
<p id="bio" class="mb-3"></p> <p id="bio" class="mb-3 preserve-linebreaks"></p>
</div> </div>
<div> <div>
<a th:href="@{/profile/edit}" class="btn btn-outline-primary"> <a th:href="@{/profile/edit}" class="btn btn-outline-primary">