diff --git a/themes/geekboot/layouts/shortcodes/expand.html b/themes/geekboot/layouts/shortcodes/expand.html index bea86b81..c22871b1 100644 --- a/themes/geekboot/layouts/shortcodes/expand.html +++ b/themes/geekboot/layouts/shortcodes/expand.html @@ -1,7 +1,7 @@ {{ $randNum := index (seq 2000 | shuffle) 0 }} {{ $title := .Get 0 | default "Expand"}} -{{ $id := (replaceRE "(\\s)" "" (printf "%s-%d" $title $randNum)) }} +{{ $id := (replaceRE "(\\s)" "" (printf "%s-%d" (anchorize $title) $randNum)) }}