diff --git a/docs/.vitepress/wordless.ts b/docs/.vitepress/wordless.ts index aef2fba..4d4bdee 100644 --- a/docs/.vitepress/wordless.ts +++ b/docs/.vitepress/wordless.ts @@ -78,7 +78,7 @@ export function renderChineseSpaces(content: string) { const charIsChinese = isChineseChar(content.charCodeAt(i)) if (charIsChinese !== lastCharIsChinese) { const cutIndex = i - handler = content.substring(lastCutIndex, cutIndex) + " " + handler += content.substring(lastCutIndex, cutIndex) + " " lastCutIndex = cutIndex } lastCharIsChinese = charIsChinese