readme blank to %20

This commit is contained in:
zigholding 2024-12-01 20:47:42 +08:00
parent 132e849e33
commit 37a7f11607
3 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

View file

@ -194,7 +194,7 @@ export default class VaultExpoterPlugin extends Plugin {
res = res.replace(
/\!\[\[(.*?)\]\]/g,
(match:any, name:string) => {
return `![${name}](${assets}/${name})`;
return `![${name}](${assets}/${name.replace(/ /g,'%20')})`;
}
)
}

View file

@ -2,7 +2,7 @@
"id": "vault-exporter",
"name": "Vault Exporter",
"version": "0.5.0",
"minAppVersion": "1.5.12",
"minAppVersion": "1.7.7",
"description": "Export current note to another Vault.",
"author": "ZigHolding",
"isDesktopOnly": true