]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
example: remove unneeded escape characters
authorXhmikosR <xhmikosr@gmail.com>
Wed, 20 Jan 2021 11:10:08 +0000 (13:10 +0200)
committerXhmikosR <xhmikosr@gmail.com>
Tue, 31 Aug 2021 14:24:38 +0000 (17:24 +0300)
site/layouts/shortcodes/example.html

index 65cd5a9f33723fdd843f32253528ca144a6feaa3..0592adc6b5f75e9230612056ab6f6592f0ee16f1 100644 (file)
@@ -22,7 +22,7 @@
 {{- end -}}
 
 {{- if eq $show_markup true -}}
-  {{- $content := replaceRE `<svg class="bd\-placeholder\-img(?:\-lg)?(?: *?bd\-placeholder\-img\-lg)? ?(.*?)".*?<\/svg>\n` `<img src="..." class="$1" alt="...">` $input -}}
+  {{- $content := replaceRE `<svg class="bd-placeholder-img(?:-lg)?(?: *?bd-placeholder-img-lg)? ?(.*?)".*?<\/svg>\n` `<img src="..." class="$1" alt="...">` $input -}}
   {{- $content = replaceRE ` (class=" *?")` "" $content -}}
   {{- highlight (trim $content "\n") $lang "" -}}
 {{- end -}}