Skip to content

Commit

Permalink
Fix #74 (code in hyperlink doesn't render)
Browse files Browse the repository at this point in the history
  • Loading branch information
dataCobra committed Aug 12, 2021
1 parent 2862989 commit ce1dfd1
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 | htmlUnescape }}</a>
<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank"{{ end }}>{{ .Text | htmlUnescape | safeHTML }}</a>

0 comments on commit ce1dfd1

Please sign in to comment.