Merge pull request #158 from nunocoracao/157-links-rendering-with-extra-white-space

removed extra whitespace from links
This commit is contained in:
Nuno Coração
2022-10-25 23:47:23 +01:00
committed by GitHub

View File

@@ -1,3 +1,2 @@
<a href="{{ .Destination | safeURL }}" {{ with .Title}} title="{{ . }}"{{ end }} {{ if or (strings.HasPrefix .Destination "http:") (strings.HasPrefix .Destination "https:") }} target="_blank"{{ end }}>
{{ .Text | safeHTML }}
</a>
{{ .Text | safeHTML }}</a>