diff options
author | Hauke Stieler <mail@hauke-stieler.de> | 2022-05-15 22:49:01 +0300 |
---|---|---|
committer | Hauke Stieler <mail@hauke-stieler.de> | 2022-05-15 22:49:01 +0300 |
commit | 13aa2216bad57e6fa736fb5f7fb4841a55f4b689 (patch) | |
tree | 4c4c777c93f492fc88b6f5436dc8a6aecc05e269 | |
parent | b38362067cceefd37795a1ce61c7659d896571d8 (diff) | |
parent | 332692a3e1cae05000efa3f6b925dbefc056aab0 (diff) |
-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 33f9c91..6bfc90f 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 | .Page.RenderString }}</a> +<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank"{{ end }}>{{ .Text | safeHTML }}</a> |