Fixes path, image, and bibliography issues #7

Merged
AlexKucera merged 19 commits from windows_path_fix into master 2025-11-05 09:28:22 +01:00
Showing only changes of commit 68238e3db2 - Show all commits
+8 -2
View File
1
@@ -446,7 +446,13 @@ export class TempDirectoryManager {
const tempImagesDir = normalizePath(path.join(pluginDir, PLUGIN_DIRS.TEMP_IMAGES));
const tempPandocDir = normalizePath(path.join(pluginDir, PLUGIN_DIRS.TEMP_PANDOC));
return normalizedDirPath.startsWith(tempImagesDir) ||
normalizedDirPath.startsWith(tempPandocDir);
const isImagesDir =
normalizedDirPath === tempImagesDir ||
normalizedDirPath.startsWith(`${tempImagesDir}/`);
const isPandocDir =
normalizedDirPath === tempPandocDir ||
normalizedDirPath.startsWith(`${tempPandocDir}/`);
return isImagesDir || isPandocDir;
}
}