Skip to content

Commit e40b335

Browse files
committed
example.html: use double quotes
1 parent 04acb67 commit e40b335

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

site/layouts/shortcodes/example.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
{{- end -}}
2020

2121
{{- if eq $show_markup true -}}
22-
{{- $content := replaceRE `<svg.*class=.bd\-placeholder\-img(?:\-lg)?(?:\s*?bd\-placeholder\-img\-lg)?\s?(.*?)".*?<\/svg>\n` `<img src="..." class="$1" alt="..." >` $input -}}
23-
{{- $content = replaceRE `(class="\s*?")` `` $content -}}
24-
{{- highlight (trim $content `\n`) `html` `` -}}
22+
{{- $content := replaceRE `<svg.*class=.bd\-placeholder\-img(?:\-lg)?(?:\s*?bd\-placeholder\-img\-lg)?\s?(.*?)".*?<\/svg>\n` `<img src="..." class="$1" alt="...">` $input -}}
23+
{{- $content = replaceRE `(class="\s*?")` "" $content -}}
24+
{{- highlight (trim $content "\n") "html" "" -}}
2525
{{- end -}}

0 commit comments

Comments
 (0)