mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-22 06:54:08 +01:00
🎨 Clean code
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
12456ce23a
commit
950d419b91
4 changed files with 9 additions and 6 deletions
|
|
@ -1,4 +1,4 @@
|
|||
export const code160to32 = (text: string) => {
|
||||
// 非打断空格转换为空格
|
||||
return text.replace(/\u00a0/g, " ");
|
||||
return text.replace(/\u00A0/g, " ");
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue