Skip to content

Commit

Permalink
release: 0.38.3-beta3
Browse files Browse the repository at this point in the history
  • Loading branch information
RyotaUshio committed Mar 17, 2024
1 parent b8850c3 commit 18d695d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifest-beta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "pdf-plus",
"name": "PDF++",
"version": "0.38.3-beta2",
"version": "0.38.3-beta3",
"minAppVersion": "1.4.16",
"description": "The most Obsidian-native PDF annotation tool ever.",
"author": "Ryota Ushio",
Expand Down
2 changes: 1 addition & 1 deletion src/modals/external-pdf-modals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ export class ExternalPDFModal extends PDFPlusModal {

if (this.source === 'file' && this.folderPath) {
for (const url of this.urls) {
const filePath = normalizePath(this.folderPath + '/' + url.split('/').pop());
const filePath = normalizePath(this.folderPath + '/' + url.split('/').pop()?.replace(/%20/g, ' ') ?? '');
if (!filePath.endsWith('.pdf')) {
failed.push(url);
continue;
Expand Down

0 comments on commit 18d695d

Please sign in to comment.