mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-08 17:15:56 +01:00
Fix HTML in descriptions
This commit is contained in:
parent
e9cd9ea2c8
commit
02050df162
1 changed files with 1 additions and 1 deletions
|
@ -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 -}}
|
||||
|
|
Loading…
Reference in a new issue