-
Notifications
You must be signed in to change notification settings - Fork 663
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Link references escape html in v0.25.6 #1321
Comments
Thank you for the feedback @stefanfritsch! I've opened #1322, that one should fix what you describe. Encoding targets only the filename now, this leaves path separators unchanged. Also, I agree with you that spaces make it more readable, I changed the code to preserve spaces in filenames. |
Thank you very much! I just ran the janitor in v0.25.7 across a repo with a few thousand files and everything looks great. One question, if you're still reading this: Is it working as designed that I can no longer follow wikilinks but instead have to use alt+click to jump to the definition and then alt+click to follow that to the destination? |
This is due to VS Code and not Foam. |
Describe the bug
The link reference definitions have suddenly started using html escaping for slashes which breaks links.
E.g.
This is broken in v0.25.6. Downgrading to v0.25.5 fixes the issue.
I also don't see why #1311 decided to replace the (valid in markdown) spaces in angel brackets with the less readable %20 but unlike replacing the path separators (i.e. /) with %2F this doesn't break the links.
Small Reproducible Example
No response
Steps to Reproduce the Bug or Issue
Expected behavior
The definition should look like this:
or this
Screenshots or Videos
No response
Operating System Version
Windows
Visual Studio Code Version
1.85.1
Additional context
Foam v0.25.6, downgrade to v0.25.5 fixes issue
The text was updated successfully, but these errors were encountered: