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 d678a80 commit 9dc60a7Copy full SHA for 9dc60a7
layouts/partials/code_block.html
@@ -55,7 +55,7 @@
55
{{- if $snippet -}}
56
{{- errorf "Snippets only work for imported text blocks (%s)" .Position -}}
57
{{- end -}}
58
- {{- $text = partial "strip_indent.html" (dict "content" .Inner "pos" .Position) -}}
+ {{- $text = chomp (partial "strip_indent.html" (dict "content" .Inner "pos" .Position)) -}}
59
60
61
{{- if (hasPrefix $text " ") -}}
0 commit comments