Pop-up dictionary browser extension for language learning. Successor to Yomichan. (PERSONAL FORK)

Fix [string] sent to extractGlossaryStructuredContentRecursive getting eaten (#2261)

authored by

Kuuuube and committed by
GitHub
8607b3f0 e99a8273

+2
+2
ext/js/templates/anki-template-renderer.js
··· 800 800 if (structuredContent.content) { 801 801 extractedContent.push(...this._extractGlossaryStructuredContentRecursive([structuredContent.content])); 802 802 } 803 + } else if (typeof structuredContent === 'string') { 804 + extractedContent.push(structuredContent); 803 805 } 804 806 } 805 807