From 2c2fa06c037631bfdd169042e9193d45cbf22e57 Mon Sep 17 00:00:00 2001 From: Jason Stirnaman Date: Wed, 2 Apr 2025 16:35:04 -0500 Subject: [PATCH] fix(shortcode): (Closes #5948) extra line ending in shortcode file breaks code samples --- layouts/shortcodes/product-key.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/shortcodes/product-key.html b/layouts/shortcodes/product-key.html index 234e245be..631349a46 100644 --- a/layouts/shortcodes/product-key.html +++ b/layouts/shortcodes/product-key.html @@ -1,3 +1,3 @@ {{- $productPathData := findRE "[^/]+.*?" .Page.RelPermalink -}} {{- $currentProduct := index $productPathData 1 -}} -{{ $currentProduct }} +{{ $currentProduct }} \ No newline at end of file