You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ENG-1550: Fix # fragment encoding in markdown and wikilinks during import (#995)
- encodePathForMarkdownLink: split on first # before encoding so heading/block fragments (e.g. #section, #^block-id) are preserved as-is instead of being encoded as %23
- processLink: strip # fragment before file resolution, re-append after — previously resolved links silently dropped heading references
- Wikilink .md stripping: operate on path before # so e.g. "import/Note.md#Section" correctly strips .md extension
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
// Unresolved (dead) link from another vault: rewrite so that when the user creates the file from this link, it is created under import/{vaultName}/ in the same relative position as in the source vault
// Vault-relative link (e.g. "Discourse Nodes/EVD - no relation testing") -> use as-is. Path-from-current-file (e.g. "EVD - no relation testing") -> resolve relative to source note dir
// Unresolved (dead) link from another vault: rewrite so that when the user creates the file from this link, it is created under import/{vaultName}/ in the same relative position as in the source vault
// Vault-relative link (e.g. "Discourse Nodes/EVD - no relation testing") -> use as-is. Path-from-current-file (e.g. "EVD - no relation testing") -> resolve relative to source note dir
0 commit comments