summaryrefslogtreecommitdiffstats
path: root/layouts/shortcodes/abbr.html
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-07-16 19:37:21 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-07-16 19:37:21 +0200
commit65f2211b22ad9ad6e7b56037fccca007ae4c2329 (patch)
treedf78f82098af7943f66238118e777b297fdc7977 /layouts/shortcodes/abbr.html
parent9dee716ed255a8f815b3c97b842c7ed672a709a4 (diff)
downloadgohugo-theme-ed-65f2211b22ad9ad6e7b56037fccca007ae4c2329.tar.gz
Remove extra space after abbr
Diffstat (limited to 'layouts/shortcodes/abbr.html')
-rw-r--r--layouts/shortcodes/abbr.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/layouts/shortcodes/abbr.html b/layouts/shortcodes/abbr.html
index cee5c3d..3456aca 100644
--- a/layouts/shortcodes/abbr.html
+++ b/layouts/shortcodes/abbr.html
@@ -1,2 +1,3 @@
-<!-- abbr HTML tag -->
-<abbr title="{{ .Get "title" }}">{{ .Get "text" }}</abbr>
+<abbr title="{{ .Get "title" }}">
+ {{ .Get "text" }}
+{{- safeHTML "</abbr>" -}}