mirror of
https://github.com/twbs/bootstrap.git
synced 2025-03-21 13:29:00 +01:00
example.html: use double quotes
This commit is contained in:
parent
04acb679ab
commit
e40b3355f0
@ -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 -}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user