From 487e80adc7823b4fb91b660ec58b56e2adaaa7bb Mon Sep 17 00:00:00 2001 From: Feuerfuchs Date: Tue, 25 Jun 2019 17:57:19 +0200 Subject: Improved wrapping behavior --- template.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'template.go') diff --git a/template.go b/template.go index cdef279..93777b2 100644 --- a/template.go +++ b/template.go @@ -50,7 +50,7 @@ var tpltext = `
-
+      
         {{- if .Lines -}}
           {{- $content := "" -}}
           {{- range .Lines -}}
@@ -60,7 +60,7 @@ var tpltext = `
             {{- if .Link -}}
               {{- $content = printf "%s%s" $content (printf "%s  %s" .Type .Type .Link (.Text | HTMLEscape)) -}}
             {{- else -}}
-              {{- $content = printf "%s%s" $content (printf "     %s" (.Text | HTMLEscape)) -}}
+              {{- $content = printf "%s%s" $content (printf "     %s" (.Text | HTMLEscape)) -}}
             {{- end -}}
           {{- end -}}
           {{- $content | safeHtml -}}
-- 
cgit v1.2.3-54-g00ecf