Skip to content

Commit 6a75158

Browse files
authored
Update glossary_tooltip.html to include relLangURL for $external link
1 parent b4f32fa commit 6a75158

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/shortcodes/glossary_tooltip.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
{{- $tooltip := $tooltip | replaceRE "(?s)<a class='glossary-tooltip'.*?>(.*?).*</a>" "$1" | plainify -}}
1919
{{- $tooltip := trim $tooltip " \n" -}}
20-
<a class='glossary-tooltip' title='{{- $tooltip | safeHTML -}}' data-toggle='tooltip' data-placement='top' href='{{ $external_link }}' target='_blank' aria-label='{{ $text }}'>
20+
<a class='glossary-tooltip' title='{{- $tooltip | safeHTML -}}' data-toggle='tooltip' data-placement='top' href='{{ $external_link | relLangURL }}' target='_blank' aria-label='{{ $text }}'>
2121
{{- $text -}}
2222
</a>
2323
{{- end -}}

0 commit comments

Comments
 (0)