diff --git a/layouts/_default/search.html b/layouts/_default/search.html
index 11c317b8..f3544d85 100644
--- a/layouts/_default/search.html
+++ b/layouts/_default/search.html
@@ -9,9 +9,9 @@
{{- (printf "%s " .Title ) | htmlUnescape -}}
{{- if .Description }}
- {{/* CUSTOM: `p` instead of `div` for consistency */}}
+ {{- /* CUSTOM: `p` instead of `div` for consistency */}}
- {{ .Description }}
+ {{- .Description -}}
{{- end }}
{{- if not (.Param "hideMeta") }}
@@ -27,7 +27,7 @@ {{- (printf "%s " .Title ) | htmlUnescape -}}
-{{/* CUSTOM: combined search.html with terms.html */}}
+{{- /* CUSTOM: combined search.html with terms.html */}}