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
854 stars 73 forks source link

[Bug] [unknown]: When images or Excalidraw are embedded in the Admonition component, the export will Stuck #419

Open PIPIKAI opened 6 months ago

PIPIKAI commented 6 months ago

What happened?

I greatly appreciate and agree with your work, but I have encountered some issues. When I embed the image into the Administration, the exported HTML will get stuck, as shown in the following figure.

Reproduction

Here is my version status

Specific situation1:

Stuck

image

Specific situation2:

Strangely, when exporting and embedding documents that cause deadlocks, there is no problem with it.

For example, when I export the document shown below, it won't get stuck

image

Last Working Version

No response

Version

v1.8.01

Operating System

Windows

Obsidian Version

v1.5.12

Which browsers can you reproduce this in?

No response

Relevant log output

Log:
[INFO]  Including stylesheet: css-settings-manager
[WARNING]   Creating an RSS feed requires a site url to be set in the export settings.
[INFO]  Including stylesheet: css-settings-manager
[INFO]  Including stylesheet: ADMONITIONS_CUSTOM_STYLE_SHEET
[INFO]  Including stylesheet: svelte-pcimu8-style
[INFO]  Including stylesheet: svelte-1vwr9dd-style
[INFO]  Including stylesheet: svelte-156w7na-style
[INFO]  Including stylesheet: svelte-egt0yd-style
[INFO]  Including stylesheet: svelte-q3wqg9-style
[INFO]  Including stylesheet: svelte-1widvzq-style
[INFO]  Using "学习大纲(计划)" header as title because it was H1 at the top of the page
[INFO]  Using "介绍" header as title because it was H1 at the top of the page
[INFO] Fallback path parsing:   ..\..\..\study面经\Waking-Up面试准备.assets\snowflake-distributed-id-schematic-diagram.png?lastModify=1697553908
[INFO] Fallback path parsing:   ..\..\..\study面经\Waking-Up面试准备.assets服务注册与发现.drawio.png?lastModify=1697553908
[INFO]  Using "gpio的输出" 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: css-settings-manager
[INFO]  Including stylesheet: ADMONITIONS_CUSTOM_STYLE_SHEET
[INFO]  Including stylesheet: svelte-pcimu8-style
[INFO]  Including stylesheet: svelte-1vwr9dd-style
[INFO]  Including stylesheet: svelte-156w7na-style
[INFO]  Including stylesheet: svelte-egt0yd-style
[INFO]  Including stylesheet: svelte-q3wqg9-style
[INFO]  Including stylesheet: svelte-1widvzq-style
[INFO]  Using "🌅echars" 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: css-settings-manager
[INFO]  Including stylesheet: ADMONITIONS_CUSTOM_STYLE_SHEET
[INFO]  Including stylesheet: svelte-pcimu8-style
[INFO]  Including stylesheet: svelte-1vwr9dd-style
[INFO]  Including stylesheet: svelte-156w7na-style
[INFO]  Including stylesheet: svelte-egt0yd-style
[INFO]  Including stylesheet: svelte-q3wqg9-style
[INFO]  Including stylesheet: svelte-1widvzq-style
[INFO]  Closing render window
[WARNING]   Creating an RSS feed requires a site url to be set in the export settings.
[INFO]  Including stylesheet: css-settings-manager
[INFO]  Including stylesheet: ADMONITIONS_CUSTOM_STYLE_SHEET
[INFO]  Including stylesheet: svelte-pcimu8-style
[INFO]  Including stylesheet: svelte-1vwr9dd-style
[INFO]  Including stylesheet: svelte-156w7na-style
[INFO]  Including stylesheet: svelte-egt0yd-style
[INFO]  Including stylesheet: svelte-q3wqg9-style
[INFO]  Including stylesheet: svelte-1widvzq-style
[INFO]  Closing render window

Settings:
    settingsVersion --------- 1.8.01
    makeOfflineCompatible     true
    inlineAssets ------------ false
    includePluginCSS          5 plugins included
    includeSvelteCSS -------- true
    titleProperty             title
    customHeadContentPath ---
    faviconPath              
    documentWidth ----------- 70em
    sidebarWidth              20em
    minOutlineCollapse ------ 1
    startOutlineCollapsed     false
    allowFoldingHeadings ---- true
    allowFoldingLists         true
    allowResizingSidebars --- true
    logLevel                  warning
    minifyHTML -------------- true
    makeNamesWebStyle         true
    onlyExportModified ------ false
    deleteOldFiles            true
    addThemeToggle ---------- true
    addOutline                true
    addFileNav -------------- true
    addSearchBar              true
    addGraphView ------------ true
    addTitle                  true
    addRSSFeed -------------- true
    siteURL                  
    authorName -------------- zzk
    vaultTitle                vault Title
    exportPreset ------------ website
    openAfterExport           false
    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 -------------- E:\\\\study\\codes\\projects\\web\\dist
    filesToExport             1

Enabled Plugins:
    Calendar
    Style Settings
    Templater
    MySnippets
    Pandoc Plugin
    Recent Files
    File Hider
    Surfing
    Day and Night
    BRAT
    Homepage
    Excalidraw
    Admonition
    Dataview
    Git
    Webpage HTML Export
    Note Gallery
    Text Progress Bar
    obsidian echarts
    Iconize
    AttachFlow

Additional Info

No response

KosmosisDire commented 6 months ago

Interesting, I will look into this. Thanks for the report