diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8535136..119fe2f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,6 +22,7 @@ jobs: - name: Build id: build run: | + rm -rf raycast # remove the raycast folder npm install npm run build --if-present mkdir ${{ env.PLUGIN_NAME }} diff --git a/package.json b/package.json index bf7fb54..b57870d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-tree-search", - "version": "0.9.4", + "version": "0.9.5", "description": "Quickly search trees of lines in Obsidian", "main": "main.js", "scripts": { diff --git a/raycast/src/bookmarks.tsx b/raycast/src/bookmarks.tsx index fe7c934..05bdfd9 100644 --- a/raycast/src/bookmarks.tsx +++ b/raycast/src/bookmarks.tsx @@ -179,7 +179,7 @@ function RaycastTokenRenderer(tokens: Token[], actions: ReactNode[]): string { } if (token.type == "link_open") { - const href = token.attrs?.[0]?.[1] || "#"; + const href = decodeURI(token.attrs?.[0]?.[1] || "#"); const content = tokens[1]?.content; actions.push(