KosmosisDire / obsidian-webpage-export

Export html from single files, canvas pages, or whole vaults. Direct access to the exported HTML files allows you to publish your digital garden anywhere. Focuses on flexibility, features, and style parity.
https://docs.obsidianweb.net/
MIT License
885 stars 75 forks source link

[Bug] [1.8.01]: Export adds second '\' after drive identifier causing automatic open after export to fail #474

Open Der-Flip opened 4 months ago

Der-Flip commented 4 months ago

What happened?

upon exporting a note and selecting a directory to export to with "automatically open after export" enabled the auto open fails due to an extra \ being inserted to the export directory.

NOTE: The export works perfectly fine, though.

grafik

Reproduction

https://github.com/user-attachments/assets/2329b8cc-6512-4577-981c-869d9eba9a68

Last Working Version

unknown

Version

1.8.01

Operating System

Windows 10 Pro 22H2

Obsidian Version

1.6.7

Which browsers can you reproduce this in?

No response

Relevant log output

Log:
[INFO]  Including stylesheet: svelte-pcimu8-style
[INFO]  Including stylesheet: svelte-1vwr9dd-style
[INFO]  Including stylesheet: svelte-156w7na-style
[INFO]  Including stylesheet: svelte-q3wqg9-style
[WARNING]   Creating an RSS feed requires a site url to be set in the export settings.
[INFO]  Including stylesheet: svelte-pcimu8-style
[INFO]  Including stylesheet: svelte-1vwr9dd-style
[INFO]  Including stylesheet: svelte-156w7na-style
[INFO]  Including stylesheet: svelte-q3wqg9-style
[WARNING]   No existing export metadata found. All files will be exported.
[WARNING]   No existing search index found. All files will be exported.
[WARNING]   No existing RSS feed found. All files will be exported.
[INFO]  Using "test note" header as title because it was H1 at the top of the page
[INFO]  Closing render window
[WARNING]   Creating an RSS feed requires a site url to be set in the export settings.
[INFO]  Including stylesheet: svelte-pcimu8-style
[INFO]  Including stylesheet: svelte-1vwr9dd-style
[INFO]  Including stylesheet: svelte-156w7na-style
[INFO]  Including stylesheet: svelte-q3wqg9-style
[WARNING]   No existing export metadata found. All files will be exported.
[WARNING]   No existing search index found. All files will be exported.
[WARNING]   No existing RSS feed found. All files will be exported.
[INFO]  Using "test note" header as title because it was H1 at the top of the page
[INFO]  Closing render window
[WARNING]   Creating an RSS feed requires a site url to be set in the export settings.
[INFO]  Including stylesheet: svelte-pcimu8-style
[INFO]  Including stylesheet: svelte-1vwr9dd-style
[INFO]  Including stylesheet: svelte-156w7na-style
[INFO]  Including stylesheet: svelte-q3wqg9-style
[WARNING]   No existing export metadata found. All files will be exported.
[WARNING]   No existing search index found. All files will be exported.
[WARNING]   No existing RSS feed found. All files will be exported.
[INFO]  Using "test note" header as title because it was H1 at the top of the page
[INFO]  Closing render window
[WARNING]   Creating an RSS feed requires a site url to be set in the export settings.
[INFO]  Including stylesheet: svelte-pcimu8-style
[INFO]  Including stylesheet: svelte-1vwr9dd-style
[INFO]  Including stylesheet: svelte-156w7na-style
[INFO]  Including stylesheet: svelte-q3wqg9-style
[WARNING]   No existing export metadata found. All files will be exported.
[WARNING]   No existing search index found. All files will be exported.
[WARNING]   No existing RSS feed found. All files will be exported.
[INFO]  Using "test note" header as title because it was H1 at the top of the page
[INFO]  Closing render window

Settings:
    settingsVersion --------- 1.8.01
    makeOfflineCompatible     true
    inlineAssets ------------ true
    includePluginCSS          1 plugins included
    includeSvelteCSS -------- true
    titleProperty             title
    customHeadContentPath ---
    faviconPath              
    documentWidth ----------- 40em
    sidebarWidth              20em
    minOutlineCollapse ------ 2
    startOutlineCollapsed     false
    allowFoldingHeadings ---- true
    allowFoldingLists         true
    allowResizingSidebars --- true
    logLevel                  warning
    minifyHTML -------------- true
    makeNamesWebStyle         false
    onlyExportModified ------ true
    deleteOldFiles            true
    addThemeToggle ---------- true
    addOutline                true
    addFileNav -------------- false
    addSearchBar              false
    addGraphView ------------ false
    addTitle                  true
    addRSSFeed -------------- true
    siteURL                  
    authorName --------------
    vaultTitle                FlipsObsidian
    exportPreset ------------ raw-documents
    openAfterExport           true
    graphAttractionForce ---- 1
    graphLinkLength           10
    graphRepulsionForce ----- 150
    graphCentralForce         3
    graphEdgePruning -------- 100
    graphMinNodeSize          3
    graphMaxNodeSize -------- 7
    showDefaultTreeIcons      true
    emojiStyle -------------- Native
    defaultFileIcon           lucide//file
    defaultFolderIcon ------- lucide//folder
    defaultMediaIcon          lucide//file-image
    exportPath -------------- F:\\TEMP\\ObsidianHTMLTestExport\\testA
    filesToExport             0

Enabled Plugins:
    Calendar
    Webpage HTML Export

Additional Info

No response

Der-Flip commented 4 months ago

note: the current BETA (1.8.1-2b) works without issue!

KosmosisDire commented 4 months ago

Yes this is fixed in the beta