aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--site/layouts/shortcodes/example.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/site/layouts/shortcodes/example.html b/site/layouts/shortcodes/example.html
index 22b3906ee..b1385653a 100644
--- a/site/layouts/shortcodes/example.html
+++ b/site/layouts/shortcodes/example.html
@@ -19,7 +19,7 @@
{{- end -}}
{{- if eq $show_markup true -}}
- {{- $content := replaceRE `<svg.*class=.bd\-placeholder\-img(?:\-lg)?(?:\s*?bd\-placeholder\-img\-lg)?\s?(.*?)".*?<\/svg>\n` `<img src="..." class="$1" alt="..." >` $input -}}
- {{- $content = replaceRE `(class="\s*?")` `` $content -}}
- {{- highlight (trim $content `\n`) `html` `` -}}
+ {{- $content := replaceRE `<svg.*class=.bd\-placeholder\-img(?:\-lg)?(?:\s*?bd\-placeholder\-img\-lg)?\s?(.*?)".*?<\/svg>\n` `<img src="..." class="$1" alt="...">` $input -}}
+ {{- $content = replaceRE `(class="\s*?")` "" $content -}}
+ {{- highlight (trim $content "\n") "html" "" -}}
{{- end -}}