shithub: hugo

Download patch

ref: aba2647c152ffff927f42523b77ee6651630cd67
parent: f37c5a25676db89c0e804ccaac69bb392758192b
author: Max Arnold <[email protected]>
date: Tue Nov 27 19:15:10 EST 2018

tpl: Fix whitespace issue

 Introduced  in #5276.

--- a/tpl/tplimpl/embedded/templates/shortcodes/figure.html
+++ b/tpl/tplimpl/embedded/templates/shortcodes/figure.html
@@ -17,7 +17,7 @@
             {{- end -}}
             {{- if or (.Get "caption") (.Get "attr") -}}<p>
                 {{- .Get "caption" | markdownify -}}
-                {{- with .Get "attrlink" -}}
+                {{- with .Get "attrlink" }}
                     <a href="{{ . }}">
                 {{- end -}}
                 {{- .Get "attr" | markdownify -}}