mirror of
https://github.com/Wanxp/obsidian-douban.git
synced 2026-04-05 01:28:46 +08:00
fix file dot error
This commit is contained in:
parent
61860de3cd
commit
1d17a0afb4
@ -59,6 +59,6 @@ export const FileUtil = {
|
||||
* replace special characters for filename
|
||||
*/
|
||||
replaceSpecialCharactersForFileName(fileName: string): string {
|
||||
return fileName.replaceAll(/[\\/:*?"<>|.]/g, '_');
|
||||
return fileName.replaceAll(/[\\/:*?"<>|]/g, '_');
|
||||
}
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user