fix img tooltip #193
@ -20,7 +20,7 @@
|
||||
{{- $captionWidth = .Width -}}
|
||||
{{- 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
|
||||
{{- range $k, $v := $attributes -}}
|
||||
{{- if $v -}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user