fix: missing whitespace chomp in link render hook

hugo
Jacky Zhao 3 years ago
parent d5884aedb7
commit 2d55b6ac2e

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

Loading…
Cancel
Save