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
700 stars 59 forks source link

[Bug]: Emojis in folder / file names with the iconze plugin have extra :: #408

Open dgudim opened 3 months ago

dgudim commented 3 months ago

What happened?

When exporting with icons, emojis have this extra :: thing

image

Reproduction

Set an emoji as an icon for a folder/file

Last Working Version

No response

Version

1.8.01

Operating System

Linux

Obsidian Version

1.5.8

Which browsers can you reproduce this in?

Firefox, Chrome

Relevant log output

Log:
[INFO]  Including stylesheet: 
[INFO]  Including stylesheet: svelte-11adhly
[INFO]  Including stylesheet: ADMONITIONS_CUSTOM_STYLE_SHEET
[INFO]  Including stylesheet: svelte-1wbh8tp
[WARNING]   No existing export metadata found. All files will be exported.
[WARNING]   No existing search index found. All files will be exported.
[INFO]  Using "digital logic" header as title because it was H1 at the top of the page
[INFO]  Using "i/o devices" header as title because it was H1 at the top of the page
[INFO]  Using "key aspects and characteristics of memory" header as title because it was H1 at the top of the page
[INFO]  Using "processor terminology" header as title because it was H1 at the top of the page
[INFO]  Using "directed graphs" header as title because it was H1 at the top of the page
[INFO]  Using "basic information" header as title because it was H1 at the top of the page
[INFO]  Using "subgraph ($g' \subset g$)" header as title because it was H1 at the top of the page
[INFO]  Using "directed graph" header as title because it was H1 at the top of the page
[INFO]  Using "distances" header as title because it was H1 at the top of the page
[INFO]  Using "edge graph" header as title because it was H1 at the top of the page
[INFO]  Using "homomorphism" header as title because it was H1 at the top of the page
[INFO]  Using "intersection (and/$\cap$)" header as title because it was H1 at the top of the page
[INFO]  Using "planar graph" header as title because it was H1 at the top of the page
[INFO]  Using "shortest path problem" header as title because it was H1 at the top of the page
[INFO]  Using "tree" header as title because it was H1 at the top of the page
[INFO]  Using "multiples, divisors" header as title because it was H1 at the top of the page
[INFO]  Using "data compression" header as title because it was H1 at the top of the page
[INFO]  Using "residue classes" header as title because it was H1 at the top of the page
[INFO]  Using "rsa coding" header as title because it was H1 at the top of the page
[INFO]  Using "git" header as title because it was H1 at the top of the page
[INFO]  Using "task 1" header as title because it was H1 at the top of the page
[INFO]  Using "bernoulli trials" header as title because it was H1 at the top of the page
[INFO]  Using "conditional probability" header because it was very similar to the file's title.
[INFO]  Using "probability measure" header because it was very similar to the file's title.
[INFO]  Using "definitions" header as title because it was H1 at the top of the page
[INFO]  Using "you have such data" header as title because it was H1 at the top of the page
[INFO]  Using "index" header because it was very similar to the file's title.
[INFO]  Closing render window
[INFO]  Including stylesheet: 
[INFO]  Including stylesheet: svelte-11adhly
[INFO]  Including stylesheet: ADMONITIONS_CUSTOM_STYLE_SHEET
[INFO]  Including stylesheet: svelte-1wbh8tp
[INFO]  Using "digital logic" header as title because it was H1 at the top of the page
[INFO]  Using "i/o devices" header as title because it was H1 at the top of the page
[INFO]  Using "key aspects and characteristics of memory" header as title because it was H1 at the top of the page
[INFO]  Using "processor terminology" header as title because it was H1 at the top of the page
[INFO]  Using "directed graphs" header as title because it was H1 at the top of the page
[INFO]  Using "basic information" header as title because it was H1 at the top of the page
[INFO]  Using "subgraph ($g' \subset g$)" header as title because it was H1 at the top of the page
[INFO]  Using "directed graph" header as title because it was H1 at the top of the page
[INFO]  Using "distances" header as title because it was H1 at the top of the page
[INFO]  Using "edge graph" header as title because it was H1 at the top of the page
[INFO]  Using "homomorphism" header as title because it was H1 at the top of the page
[INFO]  Using "intersection (and/$\cap$)" header as title because it was H1 at the top of the page
[INFO]  Using "planar graph" header as title because it was H1 at the top of the page
[INFO]  Using "shortest path problem" header as title because it was H1 at the top of the page
[INFO]  Using "tree" header as title because it was H1 at the top of the page
[INFO]  Using "multiples, divisors" header as title because it was H1 at the top of the page
[INFO]  Using "data compression" header as title because it was H1 at the top of the page
[INFO]  Using "residue classes" header as title because it was H1 at the top of the page
[INFO]  Using "rsa coding" header as title because it was H1 at the top of the page
[INFO]  Using "git" header as title because it was H1 at the top of the page
[INFO]  Using "task 1" header as title because it was H1 at the top of the page
[INFO]  Using "bernoulli trials" header as title because it was H1 at the top of the page
[INFO]  Using "conditional probability" header because it was very similar to the file's title.
[INFO]  Using "probability measure" header because it was very similar to the file's title.
[INFO]  Using "definitions" header as title because it was H1 at the top of the page
[INFO]  Using "you have such data" header as title because it was H1 at the top of the page
[INFO]  Using "index" header because it was very similar to the file's title.
[INFO]  Closing render window
[INFO]  Including stylesheet: 
[INFO]  Including stylesheet: svelte-11adhly
[INFO]  Including stylesheet: ADMONITIONS_CUSTOM_STYLE_SHEET
[INFO]  Including stylesheet: svelte-1wbh8tp
[INFO]  Using "digital logic" header as title because it was H1 at the top of the page
[INFO]  Using "i/o devices" header as title because it was H1 at the top of the page
[INFO]  Using "key aspects and characteristics of memory" header as title because it was H1 at the top of the page
[INFO]  Using "processor terminology" header as title because it was H1 at the top of the page
[INFO]  Using "directed graphs" header as title because it was H1 at the top of the page
[INFO]  Using "basic information" header as title because it was H1 at the top of the page
[INFO]  Using "subgraph ($g' \subset g$)" header as title because it was H1 at the top of the page
[INFO]  Using "directed graph" header as title because it was H1 at the top of the page
[INFO]  Using "distances" header as title because it was H1 at the top of the page
[INFO]  Using "edge graph" header as title because it was H1 at the top of the page
[INFO]  Using "homomorphism" header as title because it was H1 at the top of the page
[INFO]  Using "intersection (and/$\cap$)" header as title because it was H1 at the top of the page
[INFO]  Using "planar graph" header as title because it was H1 at the top of the page
[INFO]  Using "shortest path problem" header as title because it was H1 at the top of the page
[INFO]  Using "tree" header as title because it was H1 at the top of the page
[INFO]  Using "multiples, divisors" header as title because it was H1 at the top of the page
[INFO]  Using "data compression" header as title because it was H1 at the top of the page
[INFO]  Using "residue classes" header as title because it was H1 at the top of the page
[INFO]  Using "rsa coding" header as title because it was H1 at the top of the page
[INFO]  Using "git" header as title because it was H1 at the top of the page
[INFO]  Using "task 1" header as title because it was H1 at the top of the page
[INFO]  Using "bernoulli trials" header as title because it was H1 at the top of the page
[INFO]  Using "conditional probability" header because it was very similar to the file's title.
[INFO]  Using "probability measure" header because it was very similar to the file's title.
[INFO]  Using "definitions" header as title because it was H1 at the top of the page
[INFO]  Using "you have such data" header as title because it was H1 at the top of the page
[INFO]  Using "index" header because it was very similar to the file's title.
[INFO]  No old files to delete
[INFO]  Closing render window
[INFO]  Including stylesheet: 
[INFO]  Including stylesheet: svelte-11adhly
[INFO]  Including stylesheet: ADMONITIONS_CUSTOM_STYLE_SHEET
[INFO]  Including stylesheet: svelte-1wbh8tp
[INFO]  Using "digital logic" header as title because it was H1 at the top of the page
[INFO]  Using "i/o devices" header as title because it was H1 at the top of the page
[INFO]  Using "key aspects and characteristics of memory" header as title because it was H1 at the top of the page
[INFO]  Using "processor terminology" header as title because it was H1 at the top of the page
[INFO]  Using "directed graphs" header as title because it was H1 at the top of the page
[INFO]  Using "basic information" header as title because it was H1 at the top of the page
[INFO]  Using "subgraph ($g' \subset g$)" header as title because it was H1 at the top of the page
[INFO]  Using "directed graph" header as title because it was H1 at the top of the page
[INFO]  Using "distances" header as title because it was H1 at the top of the page
[INFO]  Using "edge graph" header as title because it was H1 at the top of the page
[INFO]  Using "homomorphism" header as title because it was H1 at the top of the page
[INFO]  Using "intersection (and/$\cap$)" header as title because it was H1 at the top of the page
[INFO]  Using "planar graph" header as title because it was H1 at the top of the page
[INFO]  Using "shortest path problem" header as title because it was H1 at the top of the page
[INFO]  Using "tree" header as title because it was H1 at the top of the page
[INFO]  Using "multiples, divisors" header as title because it was H1 at the top of the page
[INFO]  Using "data compression" header as title because it was H1 at the top of the page
[INFO]  Using "residue classes" header as title because it was H1 at the top of the page
[INFO]  Using "rsa coding" header as title because it was H1 at the top of the page
[INFO]  Using "git" header as title because it was H1 at the top of the page
[INFO]  Using "task 1" header as title because it was H1 at the top of the page
[INFO]  Using "bernoulli trials" header as title because it was H1 at the top of the page
[INFO]  Using "conditional probability" header because it was very similar to the file's title.
[INFO]  Using "probability measure" header because it was very similar to the file's title.
[INFO]  Using "definitions" header as title because it was H1 at the top of the page
[INFO]  Using "you have such data" header as title because it was H1 at the top of the page
[INFO]  Using "index" header because it was very similar to the file's title.
[INFO]  No old files to delete
[INFO]  Closing render window

Settings:
    settingsVersion ------------- 1.8.01
    makeOfflineCompatible         false
    inlineAssets ---------------- false
    includePluginCSS              5 plugins included
    includeSvelteCSS ------------ true
    titleProperty                 title
    customHeadContentPath -------
    faviconPath                  
    documentWidth --------------- 50em
    sidebarWidth                  20em
    minOutlineCollapse ---------- 2
    startOutlineCollapsed         false
    allowFoldingHeadings -------- true
    allowFoldingLists             true
    allowResizingSidebars ------- true
    logLevel                      all
    minifyHTML ------------------ true
    makeNamesWebStyle             true
    onlyExportModified ---------- false
    deleteOldFiles                true
    addThemeToggle -------------- true
    addOutline                    true
    addFileNav ------------------ true
    addSearchBar                  true
    addGraphView ---------------- true
    addTitle                      true
    addRSSFeed ------------------ false
    siteURL                      
    authorName ------------------
    vaultTitle                    obsidian_vault
    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 ------------------ /home/kloud/Documents/obsidian_vault/export
    filesToExport                 30
    inlineCSS ------------------- false
    inlineJS                      false
    inlineImages ---------------- false
    sidebarsAlwaysCollapsible     false
    addFilenameTitle ------------ true
    customLineWidth              
    contentWidth ----------------
    incrementalExport             false
    deleteOldExportedFiles ------ false
    addDarkModeToggle             true
    includeOutline -------------- true
    includeGraphView              true
    includeFileTree ------------- true

Enabled Plugins:
    Admonition
    Advanced Paste
    Completr
    Dataview
    Editing Toolbar
    Highlightr
    Homepage
    Iconize
    Kanban
    Latex Suite
    List Callouts
    Mermaid Tools
    Obsidian Columns
    Git
    Text Snippets
    Version History Diff
    Webpage HTML Export
    Charts
    Better Word Count
    BRAT
    Better Search Views
    Core Search Assistant
    Advanced Tables
    Obsidian Universal renderer
    Banners
    Tag Wrangler
    Better Export PDF
    Image Context Menus
    Image Toolkit
    Text Extractor
    PDF++
    Icon Shortcodes

Additional Info

No response

KosmosisDire commented 3 months ago

Ahh, I didn't think of that. Thanks for the report, I will get a fix out for this.