]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
example.html: use double quotes
authorXhmikosR <xhmikosr@gmail.com>
Tue, 17 Sep 2019 11:22:56 +0000 (14:22 +0300)
committerXhmikosR <xhmikosr@gmail.com>
Mon, 4 Nov 2019 13:32:29 +0000 (15:32 +0200)
site/layouts/shortcodes/example.html

index 22b3906ee2cc34438d7ed972b6f81946845b85e8..b1385653a2d2231c5c057725e6936f537b58418b 100644 (file)
@@ -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 -}}