Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dataCobra/hugo-vitae.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordataCobra <datacobra@thinkbot.de>2021-08-12 10:52:04 +0300
committerdataCobra <datacobra@thinkbot.de>2021-08-12 10:52:04 +0300
commit5355e878876ed32d13f4f5d667ff8d1466cd69a2 (patch)
tree2ae5d223b429b6b2c6736b7adfa643ebb4635014
parente5239b901122e8a5affae8af71c464d61aa5a0e4 (diff)
Fix #74 (Code in hyperlink doesn't render)vitae-2.1
-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 391811d..da3ef39 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>
+<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank"{{ end }}>{{ .Text | htmlUnescape | safeHTML }}</a>