fix: remove \n character from meta description (#980)

This commit is contained in:
Jimmy Cai 2024-03-17 20:39:16 +01:00 committed by GitHub
parent 5a8607e4a8
commit 2cb5ba683b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,4 +14,4 @@
{{ $description = .Summary }}
{{ end }}
{{ return ($description | plainify)}}
{{ return (replaceRE "\n" " " $description | plainify) }}