fix: missing whitespace chomp in link render hook

This commit is contained in:
Jacky Zhao 2022-04-05 18:07:40 -07:00
parent 396efaadaa
commit b3e699bbf6

View File

@ -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 -}}