mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-18 22:36:10 +01:00
4 lines
129 B
TypeScript
4 lines
129 B
TypeScript
export const code160to32 = (text: string) => {
|
|
// 非打断空格转换为空格
|
|
return text.replace(/\u00a0/g, " ");
|
|
};
|