fix: Affiche le texte des articles en retirant les saut de ligne
This commit is contained in:
parent
d3721df4e9
commit
82e42e0788
|
@ -24,7 +24,7 @@
|
|||
{{ end }}
|
||||
<div class="text">
|
||||
{{ $ellipsis := print " <a href='" .RelPermalink "'>…</a>" | safeHTML }}
|
||||
{{ .Content | plainify | replace "\n" " " | htmlUnescape | truncate $truncateSize $ellipsis }}
|
||||
{{ (replace (.Content | plainify) "\n" " ") | htmlUnescape | truncate $truncateSize $ellipsis }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue