no more html in titles

This commit is contained in:
sakrecoer 2025-07-11 14:12:00 +02:00
parent b0b50a3ce3
commit e1ebc2fc18

View file

@ -37,7 +37,7 @@
<img src="{{ . }}" /> <img src="{{ . }}" />
{{ end }} {{ end }}
<figcaption> <figcaption>
<h4>{{ .title }}</h4> <h4>{{ .title | safeHTML }}</h4>
<p>{{ .description | transform.Plainify | safeHTML | truncate 120 }}</p> <p>{{ .description | transform.Plainify | safeHTML | truncate 120 }}</p>
</figcaption> </figcaption>