Skip to content

Commit 2c2fa06

Browse files
committed
fix(shortcode): (Closes #5948) extra line ending in shortcode file breaks code samples
1 parent 7e3d2eb commit 2c2fa06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/shortcodes/product-key.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{{- $productPathData := findRE "[^/]+.*?" .Page.RelPermalink -}}
22
{{- $currentProduct := index $productPathData 1 -}}
3-
{{ $currentProduct }}
3+
{{ $currentProduct }}

0 commit comments

Comments
 (0)