From 010ada8292c28bf3e4e61b7354c44abc25ae1182 Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Wed, 8 Jun 2022 17:30:15 -0700 Subject: [PATCH] Reduce unnecessary whitespace --- dynamic/search-results.html | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/dynamic/search-results.html b/dynamic/search-results.html index 1a11d76..1098dc3 100644 --- a/dynamic/search-results.html +++ b/dynamic/search-results.html @@ -14,15 +14,17 @@

{{ printf "%.200s" .Desc }}

-

- {{ $isMatch := false }} - {{ range .Frag }} - {{ if $isMatch }}{{ end -}} - {{ printf . }} - {{- if $isMatch }}{{ end }} - {{ $isMatch = (not $isMatch) }} - {{ end }} -

+

+ + {{- $isMatch := false -}} + {{- range .Frag -}} + {{- if $isMatch }}{{ end -}} + {{- printf . -}} + {{- if $isMatch }}{{ end -}} + {{- $isMatch = (not $isMatch) -}} + {{- end -}} + +

{{- end }}