diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2022-07-16 19:37:21 +0200 |
|---|---|---|
| committer | Serghei Iakovlev <egrep@protonmail.ch> | 2022-07-16 19:37:21 +0200 |
| commit | 65f2211b22ad9ad6e7b56037fccca007ae4c2329 (patch) | |
| tree | df78f82098af7943f66238118e777b297fdc7977 /layouts | |
| parent | 9dee716ed255a8f815b3c97b842c7ed672a709a4 (diff) | |
| download | gohugo-theme-ed-65f2211b22ad9ad6e7b56037fccca007ae4c2329.tar.gz | |
Remove extra space after abbr
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/shortcodes/abbr.html | 5 |
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>" -}} |
