File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -139,6 +139,7 @@ export async function processHanyu7(
139139 . toArray ( )
140140 . map ( ( el ) =>
141141 traverse ( $ , el , term . headword , ( r ) => {
142+ r = r . replace ( / - | \/ \/ / g, " " ) ;
142143 if ( ! reading ) {
143144 reading = r ;
144145 return "" ;
@@ -181,7 +182,6 @@ export async function processHanyu7(
181182 data : { hanyu7 : "definitions-parent" } ,
182183 lang : "zh-CN" ,
183184 } satisfies StructuredContentNode ;
184- reading = reading . replace ( / - | \/ \/ / g, " " ) ;
185185 const pinyinTermEntry = new TermEntry ( term . headword )
186186 . setReading ( reading )
187187 . addDetailedDefinition ( {
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import { processHanyu7 } from "./dics/hanyu7/hanyu7.ts";
55
66const versions = {
77 guifan : "2025/12/29.3" ,
8- hanyu7 : "2025/12/29.3 " ,
8+ hanyu7 : "2025/12/29.4 " ,
99} ;
1010
1111const guifanPinyinDic = new Dictionary ( { fileName : "guifan-pinyin.zip" } ) ;
You can’t perform that action at this time.
0 commit comments