mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-28 18:20:24 +00:00
example.html: use double quotes
This commit is contained in:
parent
04acb679ab
commit
e40b3355f0
1 changed files with 3 additions and 3 deletions
|
|
@ -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…
Reference in a new issue