link: extra space before link text #700

This commit is contained in:
Sören Weber 2023-10-28 22:27:45 +02:00
parent ff61932b70
commit b43f60b687
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D

View file

@ -47,5 +47,5 @@
{{- warnf "%q: no page was found for link '%s'" $page.File.Filename $url.Path }} {{- warnf "%q: no page was found for link '%s'" $page.File.Filename $url.Path }}
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- end }} {{- end -}}
<a href="{{ $url | safeURL }}"{{ if $title }} title="{{ $title }}"{{ end }}{{ if gt (len $target) 0 }} target="{{ $target }}"{{ end }}>{{ $content | safeHTML }}</a> <a href="{{ $url | safeURL }}"{{ if $title }} title="{{ $title }}"{{ end }}{{ if gt (len $target) 0 }} target="{{ $target }}"{{ end }}>{{ $content | safeHTML }}</a>