Skip to content

Commit

Permalink
Fixed bug in file path
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanopagliari committed Jul 20, 2022
1 parent 4e3eaa5 commit 0766045
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "bibnotes",
"name": "BibNotes Formatter",
"version": "0.9.205",
"version": "0.9.206",
"minAppVersion": "0.12.0",
"description": "Plugin to import and format annotations from Zotero.",
"author": "Stefano Pagliari",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bibnotes",
"version": "0.9.205",
"version": "0.9.206",
"description": "Plugin to export and format annotations from Zotero into Obsidian",
"main": "main.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ export function createLocalFileLink(reference: Reference) {
const selectedfile: string =
"[" +
reference.attachments[attachmentindex].title +
"](file:////" + // added an extra "/" to make it work on Linux
"](file:///" + // added an extra "/" to make it work on Linux
encodeURI(reference.attachments[attachmentindex].path.replaceAll(" ", " ")) +
")"; //select the author

Expand Down

0 comments on commit 0766045

Please sign in to comment.