An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
// https://github.com/siyuan-note/siyuan/issues/9382
export const nbsp2space = (text: string) => {
// 非打断空格转换为空格
return text.replace(/\u00A0/g, " ");
};
// https://github.com/siyuan-note/siyuan/issues/14800
export const removeZWJ = (text: string) => {
return text.replace(/\u200D```/g, "```");
};