mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-09 01:35: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 }}.
|
Thoughts on a bookmarked article{{ with $reference.name }}: {{.}}{{ end }}.
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{- if eq .Section "calendar" -}}(An event I may be going to.) {{ end -}}
|
{{- 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 -}}
|
{{- $desc -}}
|
||||||
{{- range .Params.tags }} #{{.}}{{ end -}}
|
{{- range .Params.tags }} #{{.}}{{ end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
Loading…
Reference in a new issue