From 49e41445a6378949f520bfaf6989838361bb9550 Mon Sep 17 00:00:00 2001 From: Feuerfuchs Date: Mon, 17 Jun 2019 12:55:18 +0200 Subject: Fix indent bug --- template.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'template.go') diff --git a/template.go b/template.go index 242d0a2..32b75be 100644 --- a/template.go +++ b/template.go @@ -21,7 +21,7 @@ var tpltext = ` {{- $content = printf "%s\n" $content -}} {{- end -}} {{- if .Link -}} - {{- $content = printf "%s%s" $content (printf "%s %s" .Type .Type .Link .Text) -}} + {{- $content = printf "%s%s" $content (printf "%s %s" .Type .Type .Link .Text) -}} {{- else -}} {{- $content = printf "%s%s" $content (printf " %s" .Text) -}} {{- end -}} -- cgit v1.2.3-54-g00ecf