fix(glossy): generate correct links to glossary entry
This commit is contained in:
1 parent
45112b434f
commit
ca57b15ccf
1 file changed
-9
@@ -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.| | |
|
||||
|
||||
Reference in new issue
Block a user