fix(glossy): generate correct links to glossary entry

This commit is contained in:
BurningKarl authored and Stephen Waits committed 2025-10-26 16:00:21 -06:00
1 parent 45112b434f
commit ca57b15ccf
1 file changed
-9
-9
View File
@@ -408,15 +408,6 @@
[#metadata("hidden term")#term-label]
} else {
// normal term display (ie not hidden)
// create the forward link, if watned
let linked-term = if term-links and __has_glossary_entry(key) {
link(label(key), term)
} else {
term
}
// and the final content
[#article#show-term(linked-term)#metadata(term)#term-label]
// |^^^^^|^^^^^^^^^ |^^^^^^^^ |^^^^^^^^^^^^
// \_art.| | |