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

github.com/chipzoller/hugo-clarity.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Boothe <git@rootwork.org>2022-07-13 23:19:30 +0300
committerGitHub <noreply@github.com>2022-07-13 23:19:30 +0300
commit26d1949f05a37739e74154ed28a161f6f96401ab (patch)
treeb95dcc96d2ebd3210dfbf3e10badce1359c54d54
parent829f6816d4b82f5aa02b5740ec7899a746a99dfe (diff)
parent82eacb5582f2468b7596622a50253a944a7b8d38 (diff)
Merge pull request #339 from m4l4v1t4/patch-1
from `htmlEscape` to `safeHTML` on attr. `title`
-rw-r--r--layouts/partials/figure.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/figure.html b/layouts/partials/figure.html
index 4a0f7b1..e5b7afc 100644
--- a/layouts/partials/figure.html
+++ b/layouts/partials/figure.html
@@ -60,7 +60,7 @@
src="{{ $fileWeb }}"
{{ end }}
{{ with $cap }}
- title="{{ htmlEscape $cap }}"
+ title="{{ safeHTML $cap }}"
{{ end }}
/>