Skip to content

Commit

Permalink
Fix correct folder path separators being replaced
Browse files Browse the repository at this point in the history
  • Loading branch information
Tesselay committed Apr 17, 2024
1 parent a2a0ec8 commit 47c7e5e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import {
parseFrontMatterFromContent,
removeFrontMatterFromContent,
replaceIllegalCharsFile,
replaceIllegalCharsFolder,
setOrUpdateHighlightColors,
} from './util'
import { OmnivoreSettingTab } from './settingsTab'
Expand Down Expand Up @@ -247,7 +248,7 @@ export default class OmnivorePlugin extends Plugin {
)

for (const item of items) {
const folderName = replaceIllegalCharsFile(
const folderName = replaceIllegalCharsFolder(
normalizePath(render(item, folder, this.settings.folderDateFormat)),
)
const omnivoreFolder =
Expand Down

0 comments on commit 47c7e5e

Please sign in to comment.