From cfc51c010efd08f320330b448544d5e4f8628c1e Mon Sep 17 00:00:00 2001 From: kuuuube Date: Wed, 10 Jul 2024 15:59:21 -0400 Subject: [PATCH] Remove needsStructuredContent requirement for extraMode dictionaries --- jmdict_glossary.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jmdict_glossary.go b/jmdict_glossary.go index df5a1fc..cf3a226 100644 --- a/jmdict_glossary.go +++ b/jmdict_glossary.go @@ -287,7 +287,7 @@ func createGlossaryContent(sense jmdict.JmdictSense, meta jmdictMetadata) any { func createGlossary(sense jmdict.JmdictSense, meta jmdictMetadata) []any { glossary := []any{} - if meta.extraMode && needsStructuredContent(sense, meta.language) { + if meta.extraMode { glossary = append(glossary, createGlossaryContent(sense, meta)) } else { for _, gloss := range sense.Glossary {