shorten text not rendered html (misimatched tags)

This commit is contained in:
Torsten 2023-09-01 21:10:46 +03:00
parent 7c0a51f0bc
commit 1b0344828a
3 changed files with 3 additions and 3 deletions

View File

@ -9,4 +9,4 @@
%div.h-full
.p-5.text-center
.m-2.text-sm.leading-relaxed.line-clamp-3{ prose_classes }
= shorten( markdown(event.text) )
= markdown( shorten(event.text) )

View File

@ -11,4 +11,4 @@
%div.h-full
.p-5.text-center
.m-2.text-sm.leading-relaxed.line-clamp-3{ prose_classes }
= shorten markdown(member.bio)
= markdown shorten(member.bio)

View File

@ -11,4 +11,4 @@
%div.h-full
.p-5.text-center
.m-2.text-sm.leading-relaxed.line-clamp-3{ prose_classes }
= shorten markdown(profile.bio)
= markdown shorten(profile.bio)