diff options
| author | XhmikosR <[email protected]> | 2019-09-17 14:22:56 +0300 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2019-11-04 15:32:29 +0200 |
| commit | e40b3355f09d444337eb0081877d02329fbf52c9 (patch) | |
| tree | 64c61bdd444af5df87879eed74a618b90554d238 /site/layouts/shortcodes/example.html | |
| parent | 04acb679ab4282b50e2c6214c3ce7db634f9c2e1 (diff) | |
| download | bootstrap-e40b3355f09d444337eb0081877d02329fbf52c9.tar.xz bootstrap-e40b3355f09d444337eb0081877d02329fbf52c9.zip | |
example.html: use double quotes
Diffstat (limited to 'site/layouts/shortcodes/example.html')
| -rw-r--r-- | site/layouts/shortcodes/example.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/site/layouts/shortcodes/example.html b/site/layouts/shortcodes/example.html index 22b3906ee..b1385653a 100644 --- a/site/layouts/shortcodes/example.html +++ b/site/layouts/shortcodes/example.html @@ -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 -}} |
