diff --git a/tpl/tplimpl/embedded/templates/shortcodes/figure.html b/tpl/tplimpl/embedded/templates/shortcodes/figure.html index 2da48ca8fc1..f81bdadfcb0 100644 --- 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") -}}

{{- .Get "caption" | markdownify -}} - {{- with .Get "attrlink" -}} + {{- with .Get "attrlink" }} {{- end -}} {{- .Get "attr" | markdownify -}}