fix: space before links

Mainly noticeable in CKJ languages.

Fix #1872
This commit is contained in:
George Cushen 2020-10-01 13:09:48 +01:00
commit f5d9cab6be

View file

@ -1,2 +1,2 @@
{{/* A Hugo Markdown render hook to parse links, opening external links in new tabs. */}}
{{- /* A Hugo Markdown render hook to parse links, opening external links in new tabs. */ -}}
<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank" rel="noopener"{{ end }}>{{ .Text | safeHTML }}</a>