fix img tooltip
All checks were successful
Linting markdown on PR / unicode-check (pull_request) Successful in 2m11s
All checks were successful
Linting markdown on PR / unicode-check (pull_request) Successful in 2m11s
This commit is contained in:
parent
4931651f29
commit
4ffc667fae
@ -20,7 +20,7 @@
|
|||||||
{{- $captionWidth = .Width -}}
|
{{- $captionWidth = .Width -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- $attributes := merge .Attributes (dict "alt" .Text "src" $src "title" (.Title | transform.HTMLEscape)) -}}
|
{{- $attributes := merge .Attributes (dict "alt" .Text "src" $src "title" .Text) -}}
|
||||||
<img
|
<img
|
||||||
{{- range $k, $v := $attributes -}}
|
{{- range $k, $v := $attributes -}}
|
||||||
{{- if $v -}}
|
{{- if $v -}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user