diff options
| author | XhmikosR <[email protected]> | 2021-01-20 13:10:08 +0200 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2021-08-31 17:24:38 +0300 |
| commit | f22966c9206cd3efba174566fecd6bd68061c4ae (patch) | |
| tree | eafd47d7a5c399d1cc1aaa7b9760338de7948a39 /site/layouts/shortcodes/example.html | |
| parent | 5cc633dfabf3687bbbae9344725435031b022e81 (diff) | |
| download | bootstrap-f22966c9206cd3efba174566fecd6bd68061c4ae.tar.xz bootstrap-f22966c9206cd3efba174566fecd6bd68061c4ae.zip | |
example: remove unneeded escape characters
Diffstat (limited to 'site/layouts/shortcodes/example.html')
| -rw-r--r-- | site/layouts/shortcodes/example.html | 2 |
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 -}} |
