fix: missing whitespace chomp in link render hook

hugo
Jacky Zhao 3 years ago
parent d5884aedb7
commit 2d55b6ac2e

@ -11,6 +11,6 @@
<a
{{if not $nonexistent}}href="{{$rooted}}"{{end}}
rel="noopener" class="internal-link{{if $nonexistent}} broken{{end}}"
data-src="{{$rooted}}">{{ .Text | safeHTML }}
data-src="{{$rooted}}">{{- .Text | safeHTML -}}
</a>
{{- end -}}

Loading…
Cancel
Save