diff --git a/layouts/partials/markdown/include_runtimes_versions.md b/layouts/partials/markdown/include_runtimes_versions.md index 64c0134d..047bd4dd 100644 --- a/layouts/partials/markdown/include_runtimes_versions.md +++ b/layouts/partials/markdown/include_runtimes_versions.md @@ -3,7 +3,7 @@ {{- range $runtimeFound := findRE $runtimesPattern $content -}} {{- $runtime := replaceRE $runtimesPattern "$1" $runtimeFound -}} - {{- $runtime = lower (strings.TrimSpace $runtime) -}} + {{- $runtime = lower (with $runtime | string | TrimSpace) -}} {{- $versions := index site.Data.runtime_versions $runtime -}} {{- $output := "" -}}