Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

chore(desktop): 简化列表分隔符处理

zhangyongjie5d4bc66adc6d
diff --git a/apps/desktop/src/renderer/lib/composerListDocument.ts b/apps/desktop/src/renderer/lib/composerListDocument.ts
index 43caf4e13e..aa67ba84b7 100644
--- a/apps/desktop/src/renderer/lib/composerListDocument.ts
+++ b/apps/desktop/src/renderer/lib/composerListDocument.ts
@@ -90,7 +90,7 @@ function parseListMarker(text: string): ListMarker | null {
prefixLength:
marker === '、' ? ordered[1].length + marker.length : ordered[0].length,
marker,
- separator: marker === '、' ? ordered[3] : ordered[3],
+ separator: ordered[3],
start: Number(ordered[1]),
};
}