aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2021-01-20 13:10:08 +0200
committerXhmikosR <[email protected]>2021-08-31 17:24:38 +0300
commitf22966c9206cd3efba174566fecd6bd68061c4ae (patch)
treeeafd47d7a5c399d1cc1aaa7b9760338de7948a39
parent5cc633dfabf3687bbbae9344725435031b022e81 (diff)
downloadbootstrap-f22966c9206cd3efba174566fecd6bd68061c4ae.tar.xz
bootstrap-f22966c9206cd3efba174566fecd6bd68061c4ae.zip
example: remove unneeded escape characters
-rw-r--r--site/layouts/shortcodes/example.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/site/layouts/shortcodes/example.html b/site/layouts/shortcodes/example.html
index 65cd5a9f3..0592adc6b 100644
--- a/site/layouts/shortcodes/example.html
+++ b/site/layouts/shortcodes/example.html
@@ -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 -}}