We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bc97fd commit 39bd42aCopy full SHA for 39bd42a
docs/layouts/partials/shortcodes/multishortcode.html
@@ -1,6 +1,8 @@
1
{{- $page := .page }}
2
3
-{{- $calls := transform.Unmarshal (printf "%s\n\n" .content) }}
+{{- /* Normalize line endings to CRLF so that \r survives YAML single-quoted string folding */}}
4
+{{- $normalizedContent := replaceRE `\r?\n` "\r\n" .content }}
5
+{{- $calls := transform.Unmarshal (printf "%s\n\n" $normalizedContent) }}
6
{{- if reflect.IsMap $calls }}
7
{{- $calls = slice $calls }}
8
{{- end }}
layouts/partials/version.txt
@@ -1 +1 @@
-9.0.3+c09e16702ef04eb2464fc37cbaaee2a1e10e7cf6
+9.0.3+9bc97fdf9eaf3af61af9bcc11db2e010de83af95
0 commit comments