We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04acb67 commit e40b335Copy full SHA for e40b335
site/layouts/shortcodes/example.html
@@ -19,7 +19,7 @@
19
{{- end -}}
20
21
{{- 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` `` -}}
+ {{- $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" "" -}}
25
0 commit comments