fix(shortcode): (Closes #5948) extra line ending in shortcode file breaks code samples

pull/5954/head
Jason Stirnaman 2025-04-02 16:35:04 -05:00
parent 7e3d2eb432
commit 2c2fa06c03
1 changed files with 1 additions and 1 deletions

View File

@ -1,3 +1,3 @@
{{- $productPathData := findRE "[^/]+.*?" .Page.RelPermalink -}}
{{- $currentProduct := index $productPathData 1 -}}
{{ $currentProduct }}
{{ $currentProduct }}