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
When I exported a single folder with subfolders using RAW HTML Documents export mode, links between sibling files in subfolders--which work fine in Obsidian markdown--use the full path from the top of the folder hierarchy and so cannot be found.
What did I expect to happen?
I expected raw format to generate links between sibling files to work--without writing all links as if they originated from a file at the top of the folder structure.
Reproduction
Create a nested folder structure in obsidian such as: test/folder-a/folder-b/
Create two markdown notes within folder-b which link to each other: sibling-a.md and sibling-b.md
Export the test folder using RAW HTML Documents export mode
Open sibling-a.html in a web browser and click the link to sibling-b -- nothing happens
Examine the link within the html: <a class="internal-link" data-href="sibling-b.md" href="test/folder-a/folder-b/sibling-b.html" target="_self" rel="noopener">sibling-a</a>
Notice that the link incorporates the full path from the top--even though the file being linked to is within the same folder-b location.
Last Working Version
No response
Version
1.8.0.1
Operating System
macOS Monterey 12.7.6
Obsidian Version
v1.6.7/v1.6.7
Which browsers can you reproduce this in?
Firefox, Chrome, Safari
Relevant log output
N/A
Additional Info
N/A
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
[Bug]: Export as RAW HTML Documents - links do not account for relative folder structure
[Bug] [1.8.0.1]: Export as RAW HTML Documents - links do not account for relative folder structure
Oct 11, 2024
Hey, thanks for the report, can you test this in the beta version for me? There are instructions for using the beta version in the readme. You would use the Local website export in place of Raw HTML Documents
What happened?
When I exported a single folder with subfolders using
RAW HTML Documents
export mode, links between sibling files in subfolders--which work fine in Obsidian markdown--use the full path from the top of the folder hierarchy and so cannot be found.I expected raw format to generate links between sibling files to work--without writing all links as if they originated from a file at the top of the folder structure.
Reproduction
test/folder-a/folder-b/
folder-b
which link to each other:sibling-a.md
andsibling-b.md
test
folder usingRAW HTML Documents
export modesibling-a.html
in a web browser and click the link tosibling-b
-- nothing happens<a class="internal-link" data-href="sibling-b.md" href="test/folder-a/folder-b/sibling-b.html" target="_self" rel="noopener">sibling-a</a>
Notice that the link incorporates the full path from the top--even though the file being linked to is within the same
folder-b
location.Last Working Version
No response
Version
1.8.0.1
Operating System
macOS Monterey 12.7.6
Obsidian Version
v1.6.7/v1.6.7
Which browsers can you reproduce this in?
Firefox, Chrome, Safari
Relevant log output
N/A
Additional Info
N/A
The text was updated successfully, but these errors were encountered: