aboutsummaryrefslogtreecommitdiff
path: root/api/word.ts
diff options
context:
space:
mode:
Diffstat (limited to 'api/word.ts')
-rw-r--r--api/word.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/api/word.ts b/api/word.ts
index b519789..e92bc19 100644
--- a/api/word.ts
+++ b/api/word.ts
@@ -104,7 +104,8 @@ export default class Word extends APIBase {
// generate conjugated version of verb with kanji
this.text = new Japanese(input.source, reading);
} else {
- this.text = this.base;
+ // add dictionary reading to this.source as writing (could contain kanji)
+ this.text = new Japanese(input.source, this.base.reading);
}
this.id = input.id;
}