Skip to content

Commit

Permalink
Fix #55 (Symbols don't render correctly in links)
Browse files Browse the repository at this point in the history
  • Loading branch information
dataCobra committed May 11, 2021
1 parent 6c5cc86 commit fc4713b
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 +1 @@
<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank"{{ end }}>{{ .Text }}</a>
<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank"{{ end }}>{{ .Text | htmlUnescape }}</a>

0 comments on commit fc4713b

Please sign in to comment.