Skip to content

Commit

Permalink
tpl: Fix whitespace issue
Browse files Browse the repository at this point in the history
 Introduced  in #5276.
  • Loading branch information
max-arnold authored and bep committed Nov 27, 2018
1 parent f37c5a2 commit aba2647
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tpl/tplimpl/embedded/templates/shortcodes/figure.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ <h4>{{ . }}</h4>
{{- end -}}
{{- if or (.Get "caption") (.Get "attr") -}}<p>
{{- .Get "caption" | markdownify -}}
{{- with .Get "attrlink" -}}
{{- with .Get "attrlink" }}
<a href="{{ . }}">
{{- end -}}
{{- .Get "attr" | markdownify -}}
Expand Down

0 comments on commit aba2647

Please sign in to comment.