fix: missing whitespace chomp in link render hook

This commit is contained in:
Jacky Zhao 2022-04-05 18:07:40 -07:00
parent d5884aedb7
commit 2d55b6ac2e
1 changed files with 1 additions and 1 deletions

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