Skip to content

Commit

Permalink
don't expand images in mod timelines
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Feb 19, 2025
1 parent 1f27bd8 commit 0ff6b5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/api/src/main/ui/ModTimelineUi.scala
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ final class ModTimelineUi(helpers: Helpers)(
frag(
renderMod(n.from.into(ModId)),
div(cls := "mod-timeline__text"):
richText(n.text)
richText(n.text, expandImg = false)
)

private def renderAccountCreation(user: User, at: Instant)(using Translate) =
Expand Down

0 comments on commit 0ff6b5f

Please sign in to comment.