Fix HTML in descriptions

This commit is contained in:
JP Hastings-Spital 2025-01-20 20:38:39 +00:00
parent e9cd9ea2c8
commit 02050df162

View file

@ -39,7 +39,7 @@
Thoughts on a bookmarked article{{ with $reference.name }}: {{.}}{{ end }}.
{{- else -}}
{{- if eq .Section "calendar" -}}(An event I may be going to.) {{ end -}}
{{- $desc := (index (split .Summary "\n") 0) | safeHTML -}}
{{- $desc := (index (split .Summary "\n") 0) | plainify | safeHTML -}}
{{- $desc -}}
{{- range .Params.tags }} #{{.}}{{ end -}}
{{- end -}}