diff options
author | dataCobra <datacobra@thinkbot.de> | 2021-08-12 10:48:12 +0300 |
---|---|---|
committer | dataCobra <datacobra@thinkbot.de> | 2021-08-12 10:48:12 +0300 |
commit | ce1dfd1d3dc1e298aea81ebb4120f235a02247cb (patch) | |
tree | d46c9d1ee2d4dee440a873abbd12adb5dd657088 | |
parent | 2862989136432a3f5bc2ed23954606f1b3e712a2 (diff) |
Fix #74 (code in hyperlink doesn't render)3.0.3
-rw-r--r-- | layouts/_default/_markup/render-link.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html index 18cc5e6..46cdce3 100644 --- a/layouts/_default/_markup/render-link.html +++ b/layouts/_default/_markup/render-link.html @@ -1 +1 @@ -<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank"{{ end }}>{{ .Text | htmlUnescape }}</a>
\ No newline at end of file +<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank"{{ end }}>{{ .Text | htmlUnescape | safeHTML }}</a>
\ No newline at end of file |