Skip to content

Commit

Permalink
removed extra whitespace from links
Browse files Browse the repository at this point in the history
  • Loading branch information
nunocoracao committed Oct 25, 2022
1 parent 9cb99c0 commit 89ab364
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions layouts/_default/_markup/render-link.html
Original file line number Diff line number Diff line change
@@ -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>

0 comments on commit 89ab364

Please sign in to comment.