Skip to content

Commit c41a3e0

Browse files
CaiJimmycyp0633
authored andcommitted
fix: remove \n character from meta description (CaiJimmy#980)
1 parent 2744081 commit c41a3e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/partials/data/description.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
{{ $description = .Summary }}
1515
{{ end }}
1616

17-
{{ return ($description | plainify)}}
17+
{{ return (replaceRE "\n" " " $description | plainify) }}

0 commit comments

Comments
 (0)