shorten text not rendered html (misimatched tags)
This commit is contained in:
parent
7c0a51f0bc
commit
1b0344828a
|
@ -9,4 +9,4 @@
|
||||||
%div.h-full
|
%div.h-full
|
||||||
.p-5.text-center
|
.p-5.text-center
|
||||||
.m-2.text-sm.leading-relaxed.line-clamp-3{ prose_classes }
|
.m-2.text-sm.leading-relaxed.line-clamp-3{ prose_classes }
|
||||||
= shorten( markdown(event.text) )
|
= markdown( shorten(event.text) )
|
||||||
|
|
|
@ -11,4 +11,4 @@
|
||||||
%div.h-full
|
%div.h-full
|
||||||
.p-5.text-center
|
.p-5.text-center
|
||||||
.m-2.text-sm.leading-relaxed.line-clamp-3{ prose_classes }
|
.m-2.text-sm.leading-relaxed.line-clamp-3{ prose_classes }
|
||||||
= shorten markdown(member.bio)
|
= markdown shorten(member.bio)
|
||||||
|
|
|
@ -11,4 +11,4 @@
|
||||||
%div.h-full
|
%div.h-full
|
||||||
.p-5.text-center
|
.p-5.text-center
|
||||||
.m-2.text-sm.leading-relaxed.line-clamp-3{ prose_classes }
|
.m-2.text-sm.leading-relaxed.line-clamp-3{ prose_classes }
|
||||||
= shorten markdown(profile.bio)
|
= markdown shorten(profile.bio)
|
||||||
|
|
Loading…
Reference in New Issue