Skip to content

Commit

Permalink
Enable newlines in the profile bio and do not apply the shorten fun…
Browse files Browse the repository at this point in the history
…ction.
  • Loading branch information
johndoknjas committed Nov 6, 2024
1 parent 2d8f6eb commit 3b836a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/user/show/header.scala
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ object header:
profile.nonEmptyRealName.map: name =>
strong(cls := "name")(name),
profile.nonEmptyBio.map: bio =>
p(cls := "bio")(richText(shorten(bio, 400), nl2br = false))
p(cls := "bio")(richText(bio, nl2br = true))
)
),
div(cls := "stats")(
Expand Down

0 comments on commit 3b836a8

Please sign in to comment.