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:48:12 +0300
committerdataCobra <datacobra@thinkbot.de>2021-08-12 10:48:12 +0300
commitce1dfd1d3dc1e298aea81ebb4120f235a02247cb (patch)
treed46c9d1ee2d4dee440a873abbd12adb5dd657088
parent2862989136432a3f5bc2ed23954606f1b3e712a2 (diff)
Fix #74 (code in hyperlink doesn't render)3.0.3
-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 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