aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Johnson <mail@nicholasjohnson.ch>2024-11-08 00:00:00 +0000
committerNicholas Johnson <mail@nicholasjohnson.ch>2024-11-08 00:00:00 +0000
commitc2e8574b9fc128fe48df5103188e7272323a34d4b5f5ee447f48a474d66f2d70 (patch)
tree4507f45dd38b534f290cc914ea99e67c90b3df41f2cb14788462558b6f7942d4
parent033724cd709402e1da184e60da2da3031d8e119990129baa7ced9f957904e615 (diff)
downloadhugo-theme-journal-c2e8574b9fc128fe48df5103188e7272323a34d4b5f5ee447f48a474d66f2d70.tar.gz
hugo-theme-journal-c2e8574b9fc128fe48df5103188e7272323a34d4b5f5ee447f48a474d66f2d70.zip
Remove incorrect safeHTML call
-rw-r--r--layouts/_default/_markup/render-link.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html
index 934c0ef..def4151 100644
--- a/layouts/_default/_markup/render-link.html
+++ b/layouts/_default/_markup/render-link.html
@@ -1,2 +1,2 @@
{{ $emoji := cond (and (not (.Page.Params.makerefs | default true)) (.Page.Params.showlinkemoji | default true)) (emojify ":link: ") "" -}}
-{{ $emoji }}<a class="link" href="{{ .Destination | safeURL }}"{{ with .Title }} title="{{ . }}"{{ end }} rel="noreferrer">{{ .Text | safeHTML }}</a> \ No newline at end of file
+{{ $emoji }}<a class="link" href="{{ .Destination | safeURL }}"{{ with .Title }} title="{{ . }}"{{ end }} rel="noreferrer">{{ .Text }}</a> \ No newline at end of file