Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2021-01-20 13:00:57 +0300
committerXhmikosR <xhmikosr@gmail.com>2021-02-03 08:15:49 +0300
commita1bb65ef49d1373f224e228e67112a675b390720 (patch)
tree2fc8ecda89ffed173c8b267643ac7ad0cdcacdd0 /site/layouts
parent88be1ce5021229ba9615413fceaed1902c8d693e (diff)
Tweak scss-docs shortcode
Should work now with indented start/end capture statements
Diffstat (limited to 'site/layouts')
-rw-r--r--site/layouts/shortcodes/scss-docs.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/site/layouts/shortcodes/scss-docs.html b/site/layouts/shortcodes/scss-docs.html
index 4a525e4ded..16a906e777 100644
--- a/site/layouts/shortcodes/scss-docs.html
+++ b/site/layouts/shortcodes/scss-docs.html
@@ -13,7 +13,7 @@
{{- $strip_default := .Get "strip-default" | default "true" -}}
{{- $start := printf "// scss-docs-start %s\n" $name -}}
-{{- $end := printf "\n// scss-docs-end %s" $name -}}
+{{- $end := printf "// scss-docs-end %s" $name -}}
{{- $regex := printf "%s(.|\n)*%s" $start $end -}}
{{- $css := readFile $file -}}