Fix error for kanji note data (#1530)
This commit is contained in:
parent
9addd3f6d1
commit
9ad9961ca8
@ -243,6 +243,7 @@ class AnkiNoteData {
|
|||||||
if (definition2.type === 'term') {
|
if (definition2.type === 'term') {
|
||||||
this._defineFuriganaSegments(definition2);
|
this._defineFuriganaSegments(definition2);
|
||||||
}
|
}
|
||||||
|
if (definition2.type === 'kanji') { continue; }
|
||||||
for (const expression of definition2.expressions) {
|
for (const expression of definition2.expressions) {
|
||||||
this._defineFuriganaSegments(expression);
|
this._defineFuriganaSegments(expression);
|
||||||
this._defineTermFrequency(expression);
|
this._defineTermFrequency(expression);
|
||||||
|
Loading…
Reference in New Issue
Block a user