diff --git a/layouts/shortcodes/chart.html b/layouts/shortcodes/chart.html index 970729b..5dffc48 100644 --- a/layouts/shortcodes/chart.html +++ b/layouts/shortcodes/chart.html @@ -32,7 +32,7 @@ {{- if or ( .Get "caption" ) ( .Get "title" ) -}}
{{- with .Get "title" -}}

{{ . | markdownify | safeHTML }}

{{- end -}} - {{- with .Get "caption" -}}

{{ . | markdownify | safeHTML }}

{{- end -}} + {{- with .Get "caption" -}}

{{ . | $.Page.RenderString }}

{{- end -}}
{{- end -}}