Skip to content

Commit

Permalink
Removed extra characters from link render hook.
Browse files Browse the repository at this point in the history
  • Loading branch information
david-waltermire committed Feb 27, 2024
1 parent 959dd59 commit 0647b82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/_default/_markup/render-link.html
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<a {{ printf "href=%q" .Destination | safeHTMLAttr }}{{- with .Title }} title="{{ . }}"{{ end -}}>{{- with .Text | safeHTML }}{{ . }}{{ end -}}XX</a>
<a {{ printf "href=%q" .Destination | safeHTMLAttr }}{{- with .Title }} title="{{ . }}"{{ end -}}>{{- with .Text | safeHTML }}{{ . }}{{ end -}}</a>
{{- /* chomp trailing newline */ -}}

0 comments on commit 0647b82

Please sign in to comment.