Skip to content

Commit 447c926

Browse files
authored
fix: p tag respects newlines (#151)
1 parent 079ae7e commit 447c926

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/algora_web/live/user/profile_live.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ defmodule AlgoraWeb.User.ProfileLive do
5050
<p class="text-muted-foreground">@{User.handle(@user)}</p>
5151
</div>
5252
53-
<p class="max-w-2xl text-foreground">{@user.bio}</p>
53+
<p class="max-w-3xl text-foreground whitespace-pre-line">{@user.bio}</p>
5454
5555
<div class="flex flex-wrap gap-4">
5656
<%= for tech <- @user.tech_stack do %>

0 commit comments

Comments
 (0)