Skip to content

Commit 4e76d9a

Browse files
committed
(hanyu7) improved alt readings handling
1 parent baecff3 commit 4e76d9a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

dics/hanyu7/hanyu7.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,8 @@ export async function processHanyu7(
173173
const youSplit = reading.split("又");
174174
if (youSplit.length > 1) {
175175
reading = youSplit[0]!;
176-
entryContents.splice(1, 0, `(${youSplit.slice(1).join("又")})`);
176+
const anotherReading = youSplit[1]!;
177+
entryContents.splice(1, 0, `(又 ${anotherReading})`);
177178
}
178179
const definitionContentsForReading = {
179180
tag: "span",

export.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { processHanyu7 } from "./dics/hanyu7/hanyu7.ts";
55

66
const versions = {
77
guifan: "2025/12/17.2",
8-
hanyu7: "2025/12/20.2",
8+
hanyu7: "2025/12/20.3",
99
};
1010

1111
const guifanPinyinDic = new Dictionary({ fileName: "guifan-pinyin.zip" });

0 commit comments

Comments
 (0)